summaryrefslogtreecommitdiffstats
path: root/content/browser/streams
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-15 03:56:59 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-15 03:56:59 +0000
commit16710dda742b65e2b5d78169d1b5beac6ed3c6be (patch)
treeca2ef00186f4add6df988cadaa2d192faafbf3ef /content/browser/streams
parent9f59d0d1c5147cab3e25b0cf97350e36a08df21f (diff)
downloadchromium_src-16710dda742b65e2b5d78169d1b5beac6ed3c6be.zip
chromium_src-16710dda742b65e2b5d78169d1b5beac6ed3c6be.tar.gz
chromium_src-16710dda742b65e2b5d78169d1b5beac6ed3c6be.tar.bz2
Cleanup: Remove unneeded browser_thread.h includes in content/.
Fix lint errors too. Review URL: https://codereview.chromium.org/166243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251505 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/streams')
-rw-r--r--content/browser/streams/stream_context.cc1
-rw-r--r--content/browser/streams/stream_context.h1
-rw-r--r--content/browser/streams/stream_handle_impl.cc4
-rw-r--r--content/browser/streams/stream_handle_impl.h5
4 files changed, 8 insertions, 3 deletions
diff --git a/content/browser/streams/stream_context.cc b/content/browser/streams/stream_context.cc
index 44ca0f4..357e68c 100644
--- a/content/browser/streams/stream_context.cc
+++ b/content/browser/streams/stream_context.cc
@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "content/browser/streams/stream_registry.h"
#include "content/public/browser/browser_context.h"
+#include "content/public/browser/browser_thread.h"
using base::UserDataAdapter;
diff --git a/content/browser/streams/stream_context.h b/content/browser/streams/stream_context.h
index fb6cdc7..ad8f65c 100644
--- a/content/browser/streams/stream_context.h
+++ b/content/browser/streams/stream_context.h
@@ -9,7 +9,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/sequenced_task_runner_helpers.h"
#include "content/common/content_export.h"
-#include "content/public/browser/browser_thread.h"
namespace content {
class BrowserContext;
diff --git a/content/browser/streams/stream_handle_impl.cc b/content/browser/streams/stream_handle_impl.cc
index d9f877c..e7ab8ea 100644
--- a/content/browser/streams/stream_handle_impl.cc
+++ b/content/browser/streams/stream_handle_impl.cc
@@ -4,8 +4,10 @@
#include "content/browser/streams/stream_handle_impl.h"
+#include "base/bind.h"
+#include "base/location.h"
+#include "base/message_loop/message_loop_proxy.h"
#include "content/browser/streams/stream.h"
-#include "content/public/browser/browser_thread.h"
namespace content {
diff --git a/content/browser/streams/stream_handle_impl.h b/content/browser/streams/stream_handle_impl.h
index aabd0cb..1d3614d 100644
--- a/content/browser/streams/stream_handle_impl.h
+++ b/content/browser/streams/stream_handle_impl.h
@@ -6,10 +6,13 @@
#define CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_
#include "base/memory/weak_ptr.h"
-#include "base/message_loop/message_loop_proxy.h"
#include "base/synchronization/lock.h"
#include "content/public/browser/stream_handle.h"
+namespace base {
+class MessageLoopProxy;
+}
+
namespace content {
class Stream;