summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-03 02:41:19 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-03 02:41:19 +0000
commitb7b63878210427d6042cb8285d25e2004df22b73 (patch)
treefe992370369af7c6152e25a08edf88ffa3c15b2c
parentbee961231f36ea5ba271fdcf8804112577bb5fc0 (diff)
downloadchromium_src-b7b63878210427d6042cb8285d25e2004df22b73.zip
chromium_src-b7b63878210427d6042cb8285d25e2004df22b73.tar.gz
chromium_src-b7b63878210427d6042cb8285d25e2004df22b73.tar.bz2
Cleanup: Remove unneeded browser_thread.h includes in contents.
Review URL: https://chromiumcodereview.appspot.com/11618049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174922 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--android_webview/browser/aw_browser_main_parts.h6
-rw-r--r--chrome/browser/automation/automation_provider_observers.h7
-rw-r--r--chrome/browser/chromeos/drive/drive_download_observer.cc1
-rw-r--r--chrome/browser/component_updater/component_updater_service.cc1
-rw-r--r--chrome/browser/devtools/devtools_file_helper.cc1
-rw-r--r--chrome/browser/plugins/plugin_installer.cc1
-rw-r--r--chrome/browser/ui/cocoa/download/download_item_mac.mm1
-rw-r--r--chrome/browser/ui/webui/downloads_dom_handler.cc5
-rw-r--r--content/browser/android/content_video_view.cc3
-rw-r--r--content/browser/android/media_player_manager_android.cc1
-rw-r--r--content/browser/appcache/chrome_appcache_service.cc1
-rw-r--r--content/browser/appcache/chrome_appcache_service.h1
-rw-r--r--content/browser/devtools/devtools_tracing_handler.cc1
-rw-r--r--content/browser/download/save_file_resource_handler.h7
-rw-r--r--content/browser/fileapi/chrome_blob_storage_context.cc1
-rw-r--r--content/browser/fileapi/chrome_blob_storage_context.h1
-rw-r--r--content/browser/gamepad/gamepad_provider.cc1
-rw-r--r--content/browser/gamepad/gamepad_service.cc1
-rw-r--r--content/browser/gpu/gpu_data_manager_impl.cc1
-rw-r--r--content/browser/loader/async_resource_handler.h1
-rw-r--r--content/browser/loader/buffered_resource_handler.cc1
-rw-r--r--content/browser/loader/doomed_resource_handler.cc1
-rw-r--r--content/browser/loader/redirect_to_file_resource_handler.cc3
-rw-r--r--content/browser/loader/resource_handler.h1
-rw-r--r--content/browser/loader/resource_message_filter.cc1
-rw-r--r--content/browser/loader/transfer_navigation_resource_throttle.cc1
-rw-r--r--content/browser/power_save_blocker_mac.cc1
-rw-r--r--content/browser/renderer_host/compositing_iosurface_mac.mm1
-rw-r--r--content/browser/renderer_host/media/media_stream_manager.h1
-rw-r--r--content/browser/renderer_host/media/video_capture_manager.h1
-rw-r--r--content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc1
-rw-r--r--content/browser/renderer_host/pepper/pepper_udp_socket.cc1
-rw-r--r--content/browser/renderer_host/render_view_host_browsertest.cc1
-rw-r--r--content/browser/renderer_host/text_input_client_message_filter.mm1
-rw-r--r--content/browser/speech/google_streaming_remote_engine.cc3
-rw-r--r--content/browser/utility_process_host_impl.cc1
-rw-r--r--content/browser/utility_process_host_impl.h1
-rw-r--r--content/public/browser/browser_main_parts.h1
-rw-r--r--content/public/browser/browser_ppapi_host.h1
-rw-r--r--content/public/browser/download_manager.h1
-rw-r--r--content/public/browser/utility_process_host.h5
41 files changed, 34 insertions, 38 deletions
diff --git a/android_webview/browser/aw_browser_main_parts.h b/android_webview/browser/aw_browser_main_parts.h
index fc2b640..c85eb04 100644
--- a/android_webview/browser/aw_browser_main_parts.h
+++ b/android_webview/browser/aw_browser_main_parts.h
@@ -5,8 +5,12 @@
#ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_
#define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_
+#include "base/compiler_specific.h"
+#include "base/memory/scoped_ptr.h"
#include "content/public/browser/browser_main_parts.h"
+class MessageLoop;
+
namespace android_webview {
// TODO(joth): Remove this method when when http://crbug.com/161864 is closed.
@@ -16,7 +20,7 @@ class AwBrowserContext;
class AwBrowserMainParts : public content::BrowserMainParts {
public:
- AwBrowserMainParts(AwBrowserContext* browser_context);
+ explicit AwBrowserMainParts(AwBrowserContext* browser_context);
virtual ~AwBrowserMainParts();
// Overriding methods from content::BrowserMainParts.
diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h
index 61edd34..6ba85ae 100644
--- a/chrome/browser/automation/automation_provider_observers.h
+++ b/chrome/browser/automation/automation_provider_observers.h
@@ -43,6 +43,7 @@
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/automation_constants.h"
#include "chrome/common/extensions/extension_constants.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/download_manager.h"
#include "content/public/browser/notification_observer.h"
@@ -1225,9 +1226,9 @@ class PasswordStoreLoginsChangedObserver
// in the omnibox popup.
class OmniboxAcceptNotificationObserver : public content::NotificationObserver {
public:
- OmniboxAcceptNotificationObserver(content::NavigationController* controller,
- AutomationProvider* automation,
- IPC::Message* reply_message);
+ OmniboxAcceptNotificationObserver(content::NavigationController* controller,
+ AutomationProvider* automation,
+ IPC::Message* reply_message);
virtual ~OmniboxAcceptNotificationObserver();
// Overridden from content::NotificationObserver:
diff --git a/chrome/browser/chromeos/drive/drive_download_observer.cc b/chrome/browser/chromeos/drive/drive_download_observer.cc
index 39bd71f..90d7b47 100644
--- a/chrome/browser/chromeos/drive/drive_download_observer.cc
+++ b/chrome/browser/chromeos/drive/drive_download_observer.cc
@@ -14,6 +14,7 @@
#include "chrome/browser/chromeos/drive/drive_system_service.h"
#include "chrome/browser/chromeos/drive/file_write_helper.h"
#include "chrome/browser/profiles/profile_manager.h"
+#include "content/public/browser/browser_thread.h"
using content::BrowserThread;
using content::DownloadManager;
diff --git a/chrome/browser/component_updater/component_updater_service.cc b/chrome/browser/component_updater/component_updater_service.cc
index 654b9cb..9f0656b 100644
--- a/chrome/browser/component_updater/component_updater_service.cc
+++ b/chrome/browser/component_updater/component_updater_service.cc
@@ -25,6 +25,7 @@
#include "chrome/common/chrome_utility_messages.h"
#include "chrome/common/chrome_version_info.h"
#include "chrome/common/extensions/extension.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/utility_process_host.h"
#include "content/public/browser/utility_process_host_client.h"
diff --git a/chrome/browser/devtools/devtools_file_helper.cc b/chrome/browser/devtools/devtools_file_helper.cc
index e7657a5..945de5f 100644
--- a/chrome/browser/devtools/devtools_file_helper.cc
+++ b/chrome/browser/devtools/devtools_file_helper.cc
@@ -20,6 +20,7 @@
#include "chrome/browser/ui/chrome_select_file_policy.h"
#include "chrome/common/pref_names.h"
#include "content/public/browser/browser_context.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_manager.h"
#include "ui/base/dialogs/select_file_dialog.h"
diff --git a/chrome/browser/plugins/plugin_installer.cc b/chrome/browser/plugins/plugin_installer.cc
index 8c8ed41..385c357f 100644
--- a/chrome/browser/plugins/plugin_installer.cc
+++ b/chrome/browser/plugins/plugin_installer.cc
@@ -15,6 +15,7 @@
#include "chrome/browser/plugins/plugin_installer_observer.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/browser_context.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_id.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/download_manager.h"
diff --git a/chrome/browser/ui/cocoa/download/download_item_mac.mm b/chrome/browser/ui/cocoa/download/download_item_mac.mm
index 2b17c08..f0a899e 100644
--- a/chrome/browser/ui/cocoa/download/download_item_mac.mm
+++ b/chrome/browser/ui/cocoa/download/download_item_mac.mm
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/cocoa/download/download_item_mac.h"
+#include "base/bind.h"
#include "base/callback.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/download/download_item_model.h"
diff --git a/chrome/browser/ui/webui/downloads_dom_handler.cc b/chrome/browser/ui/webui/downloads_dom_handler.cc
index 6ff24f7..c6ef856 100644
--- a/chrome/browser/ui/webui/downloads_dom_handler.cc
+++ b/chrome/browser/ui/webui/downloads_dom_handler.cc
@@ -35,6 +35,7 @@
#include "chrome/browser/ui/webui/fileicon_source.h"
#include "chrome/common/time_format.h"
#include "chrome/common/url_constants.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_contents.h"
@@ -43,10 +44,6 @@
#include "net/base/net_util.h"
#include "ui/gfx/image/image.h"
-#if !defined(OS_MACOSX)
-#include "content/public/browser/browser_thread.h"
-#endif
-
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/extensions/file_manager_util.h"
#endif
diff --git a/content/browser/android/content_video_view.cc b/content/browser/android/content_video_view.cc
index c00ca4a..a9aced4 100644
--- a/content/browser/android/content_video_view.cc
+++ b/content/browser/android/content_video_view.cc
@@ -10,7 +10,6 @@
#include "content/browser/android/media_player_manager_android.h"
#include "content/common/android/surface_callback.h"
#include "content/common/android/surface_texture_peer.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/common/content_switches.h"
#include "jni/ContentVideoView_jni.h"
@@ -145,4 +144,4 @@ void ContentVideoView::UpdateMediaMetadata(JNIEnv* env, jobject obj) {
player->can_seek_forward(), player->can_seek_backward());
}
-} // namespace content
+} // namespace content
diff --git a/content/browser/android/media_player_manager_android.cc b/content/browser/android/media_player_manager_android.cc
index 98a51e2..6277ecd 100644
--- a/content/browser/android/media_player_manager_android.cc
+++ b/content/browser/android/media_player_manager_android.cc
@@ -8,7 +8,6 @@
#include "content/browser/android/cookie_getter_impl.h"
#include "content/common/media/media_player_messages.h"
#include "content/public/browser/browser_context.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
diff --git a/content/browser/appcache/chrome_appcache_service.cc b/content/browser/appcache/chrome_appcache_service.cc
index 136e520..d918fe6 100644
--- a/content/browser/appcache/chrome_appcache_service.cc
+++ b/content/browser/appcache/chrome_appcache_service.cc
@@ -6,6 +6,7 @@
#include "base/file_path.h"
#include "base/file_util.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/resource_context.h"
#include "net/base/net_errors.h"
diff --git a/content/browser/appcache/chrome_appcache_service.h b/content/browser/appcache/chrome_appcache_service.h
index 1b7711d..24a509c 100644
--- a/content/browser/appcache/chrome_appcache_service.h
+++ b/content/browser/appcache/chrome_appcache_service.h
@@ -9,7 +9,6 @@
#include "base/memory/ref_counted.h"
#include "base/sequenced_task_runner_helpers.h"
#include "content/common/content_export.h"
-#include "content/public/browser/browser_thread.h"
#include "webkit/appcache/appcache_policy.h"
#include "webkit/appcache/appcache_service.h"
#include "webkit/quota/special_storage_policy.h"
diff --git a/content/browser/devtools/devtools_tracing_handler.cc b/content/browser/devtools/devtools_tracing_handler.cc
index 5514452..6f8f844 100644
--- a/content/browser/devtools/devtools_tracing_handler.cc
+++ b/content/browser/devtools/devtools_tracing_handler.cc
@@ -9,7 +9,6 @@
#include "base/location.h"
#include "base/values.h"
#include "content/browser/devtools/devtools_http_handler_impl.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/trace_controller.h"
#include "content/public/browser/trace_subscriber.h"
diff --git a/content/browser/download/save_file_resource_handler.h b/content/browser/download/save_file_resource_handler.h
index 8f77f5b..7647013 100644
--- a/content/browser/download/save_file_resource_handler.h
+++ b/content/browser/download/save_file_resource_handler.h
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_RENDERER_HOST_SAVE_FILE_RESOURCE_HANDLER_H_
-#define CONTENT_BROWSER_RENDERER_HOST_SAVE_FILE_RESOURCE_HANDLER_H_
+#ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_
+#define CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_
#include <string>
+#include "base/memory/ref_counted.h"
#include "content/browser/loader/resource_handler.h"
#include "googleurl/src/gurl.h"
@@ -89,4 +90,4 @@ class SaveFileResourceHandler : public ResourceHandler {
} // namespace content
-#endif // CONTENT_BROWSER_RENDERER_HOST_SAVE_FILE_RESOURCE_HANDLER_H_
+#endif // CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_
diff --git a/content/browser/fileapi/chrome_blob_storage_context.cc b/content/browser/fileapi/chrome_blob_storage_context.cc
index 71455fc..6d04408 100644
--- a/content/browser/fileapi/chrome_blob_storage_context.cc
+++ b/content/browser/fileapi/chrome_blob_storage_context.cc
@@ -6,6 +6,7 @@
#include "base/bind.h"
#include "content/public/browser/browser_context.h"
+#include "content/public/browser/browser_thread.h"
#include "webkit/blob/blob_storage_controller.h"
using base::UserDataAdapter;
diff --git a/content/browser/fileapi/chrome_blob_storage_context.h b/content/browser/fileapi/chrome_blob_storage_context.h
index 617049d..3992e0e 100644
--- a/content/browser/fileapi/chrome_blob_storage_context.h
+++ b/content/browser/fileapi/chrome_blob_storage_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 webkit_blob {
class BlobStorageController;
diff --git a/content/browser/gamepad/gamepad_provider.cc b/content/browser/gamepad/gamepad_provider.cc
index 63a352f..b8ce1a0 100644
--- a/content/browser/gamepad/gamepad_provider.cc
+++ b/content/browser/gamepad/gamepad_provider.cc
@@ -18,7 +18,6 @@
#include "content/common/gamepad_hardware_buffer.h"
#include "content/common/gamepad_messages.h"
#include "content/common/gamepad_user_gesture.h"
-#include "content/public/browser/browser_thread.h"
namespace content {
diff --git a/content/browser/gamepad/gamepad_service.cc b/content/browser/gamepad/gamepad_service.cc
index 3b631ce..2f6b6bd 100644
--- a/content/browser/gamepad/gamepad_service.cc
+++ b/content/browser/gamepad/gamepad_service.cc
@@ -9,7 +9,6 @@
#include "base/memory/singleton.h"
#include "content/browser/gamepad/gamepad_data_fetcher.h"
#include "content/browser/gamepad/gamepad_provider.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h"
namespace content {
diff --git a/content/browser/gpu/gpu_data_manager_impl.cc b/content/browser/gpu/gpu_data_manager_impl.cc
index cb9ceb5..2f36652 100644
--- a/content/browser/gpu/gpu_data_manager_impl.cc
+++ b/content/browser/gpu/gpu_data_manager_impl.cc
@@ -23,7 +23,6 @@
#include "content/browser/gpu/gpu_util.h"
#include "content/common/gpu/gpu_messages.h"
#include "content/gpu/gpu_info_collector.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/gpu_data_manager_observer.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_constants.h"
diff --git a/content/browser/loader/async_resource_handler.h b/content/browser/loader/async_resource_handler.h
index c73ddb1..fb4ffce 100644
--- a/content/browser/loader/async_resource_handler.h
+++ b/content/browser/loader/async_resource_handler.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/memory/ref_counted.h"
#include "content/browser/loader/resource_handler.h"
#include "googleurl/src/gurl.h"
diff --git a/content/browser/loader/buffered_resource_handler.cc b/content/browser/loader/buffered_resource_handler.cc
index 591dfed..86d4ac8 100644
--- a/content/browser/loader/buffered_resource_handler.cc
+++ b/content/browser/loader/buffered_resource_handler.cc
@@ -16,7 +16,6 @@
#include "content/browser/loader/resource_dispatcher_host_impl.h"
#include "content/browser/loader/resource_request_info_impl.h"
#include "content/browser/plugin_service_impl.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/download_save_info.h"
#include "content/public/browser/resource_context.h"
diff --git a/content/browser/loader/doomed_resource_handler.cc b/content/browser/loader/doomed_resource_handler.cc
index 9d73170..d9f2f58 100644
--- a/content/browser/loader/doomed_resource_handler.cc
+++ b/content/browser/loader/doomed_resource_handler.cc
@@ -4,6 +4,7 @@
#include "content/browser/loader/doomed_resource_handler.h"
+#include "base/logging.h"
#include "net/url_request/url_request_status.h"
namespace content {
diff --git a/content/browser/loader/redirect_to_file_resource_handler.cc b/content/browser/loader/redirect_to_file_resource_handler.cc
index 665b48b..b738214 100644
--- a/content/browser/loader/redirect_to_file_resource_handler.cc
+++ b/content/browser/loader/redirect_to_file_resource_handler.cc
@@ -12,6 +12,7 @@
#include "base/platform_file.h"
#include "base/threading/thread_restrictions.h"
#include "content/browser/loader/resource_dispatcher_host_impl.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/common/resource_response.h"
#include "net/base/file_stream.h"
#include "net/base/io_buffer.h"
@@ -45,7 +46,7 @@ class DependentIOBuffer : public net::WrappedIOBuffer {
scoped_refptr<net::IOBuffer> backing_;
};
-}
+} // namespace
namespace content {
diff --git a/content/browser/loader/resource_handler.h b/content/browser/loader/resource_handler.h
index aa5de15..9209d13 100644
--- a/content/browser/loader/resource_handler.h
+++ b/content/browser/loader/resource_handler.h
@@ -17,7 +17,6 @@
#include "base/sequenced_task_runner_helpers.h"
#include "base/threading/non_thread_safe.h"
#include "content/common/content_export.h"
-#include "content/public/browser/browser_thread.h"
class GURL;
diff --git a/content/browser/loader/resource_message_filter.cc b/content/browser/loader/resource_message_filter.cc
index da64469..c7dc0a1 100644
--- a/content/browser/loader/resource_message_filter.cc
+++ b/content/browser/loader/resource_message_filter.cc
@@ -7,7 +7,6 @@
#include "content/browser/appcache/chrome_appcache_service.h"
#include "content/browser/fileapi/chrome_blob_storage_context.h"
#include "content/browser/loader/resource_dispatcher_host_impl.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/resource_context.h"
namespace content {
diff --git a/content/browser/loader/transfer_navigation_resource_throttle.cc b/content/browser/loader/transfer_navigation_resource_throttle.cc
index 57b5f4c..f2c97ea 100644
--- a/content/browser/loader/transfer_navigation_resource_throttle.cc
+++ b/content/browser/loader/transfer_navigation_resource_throttle.cc
@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "content/browser/loader/resource_dispatcher_host_impl.h"
#include "content/browser/renderer_host/render_view_host_delegate.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/global_request_id.h"
#include "content/public/browser/render_view_host.h"
diff --git a/content/browser/power_save_blocker_mac.cc b/content/browser/power_save_blocker_mac.cc
index d405690..0f63de0 100644
--- a/content/browser/power_save_blocker_mac.cc
+++ b/content/browser/power_save_blocker_mac.cc
@@ -12,7 +12,6 @@
#include "base/sys_string_conversions.h"
#include "base/threading/platform_thread.h"
#include "base/threading/thread.h"
-#include "content/public/browser/browser_thread.h"
namespace content {
namespace {
diff --git a/content/browser/renderer_host/compositing_iosurface_mac.mm b/content/browser/renderer_host/compositing_iosurface_mac.mm
index 9e4887a..d1931fc 100644
--- a/content/browser/renderer_host/compositing_iosurface_mac.mm
+++ b/content/browser/renderer_host/compositing_iosurface_mac.mm
@@ -12,7 +12,6 @@
#include "base/message_loop.h"
#include "base/threading/platform_thread.h"
#include "content/common/content_constants_internal.h"
-#include "content/public/browser/browser_thread.h"
#include "gpu/command_buffer/service/gpu_switches.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
index 2aa7674..b880799 100644
--- a/content/browser/renderer_host/media/media_stream_manager.h
+++ b/content/browser/renderer_host/media/media_stream_manager.h
@@ -35,7 +35,6 @@
#include "content/browser/renderer_host/media/media_stream_settings_requester.h"
#include "content/common/media/media_stream_options.h"
#include "content/common/content_export.h"
-#include "content/public/browser/browser_thread.h"
namespace base {
class Thread;
diff --git a/content/browser/renderer_host/media/video_capture_manager.h b/content/browser/renderer_host/media/video_capture_manager.h
index 2fc4289..f57c10f 100644
--- a/content/browser/renderer_host/media/video_capture_manager.h
+++ b/content/browser/renderer_host/media/video_capture_manager.h
@@ -18,7 +18,6 @@
#include "content/browser/renderer_host/media/media_stream_provider.h"
#include "content/common/content_export.h"
#include "content/common/media/media_stream_options.h"
-#include "content/public/browser/browser_thread.h"
#include "media/video/capture/video_capture_device.h"
#include "media/video/capture/video_capture_types.h"
diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
index 5f3cdfe..f572f29 100644
--- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
+++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
@@ -7,7 +7,6 @@
#include "content/browser/renderer_host/pepper/pepper_message_filter.h"
#include "content/browser/trace_message_filter.h"
#include "content/common/pepper_renderer_instance_data.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_view_host.h"
#include "ipc/ipc_message_macros.h"
diff --git a/content/browser/renderer_host/pepper/pepper_udp_socket.cc b/content/browser/renderer_host/pepper/pepper_udp_socket.cc
index 04d32b2..2b91a00 100644
--- a/content/browser/renderer_host/pepper/pepper_udp_socket.cc
+++ b/content/browser/renderer_host/pepper/pepper_udp_socket.cc
@@ -9,7 +9,6 @@
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "content/browser/renderer_host/pepper/pepper_message_filter.h"
-#include "content/public/browser/browser_thread.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/udp/udp_server_socket.h"
diff --git a/content/browser/renderer_host/render_view_host_browsertest.cc b/content/browser/renderer_host/render_view_host_browsertest.cc
index c0475f2..0ce480c 100644
--- a/content/browser/renderer_host/render_view_host_browsertest.cc
+++ b/content/browser/renderer_host/render_view_host_browsertest.cc
@@ -11,7 +11,6 @@
#include "content/public/browser/notification_types.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/test/browser_test_utils.h"
-#include "content/public/test/test_browser_thread.h"
#include "content/shell/shell.h"
#include "content/test/content_browser_test.h"
#include "content/test/content_browser_test_utils.h"
diff --git a/content/browser/renderer_host/text_input_client_message_filter.mm b/content/browser/renderer_host/text_input_client_message_filter.mm
index d52f353..881ea00 100644
--- a/content/browser/renderer_host/text_input_client_message_filter.mm
+++ b/content/browser/renderer_host/text_input_client_message_filter.mm
@@ -9,7 +9,6 @@
#include "content/browser/renderer_host/render_view_host_impl.h"
#include "content/browser/renderer_host/text_input_client_mac.h"
#include "content/common/text_input_client_messages.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_widget_host_view.h"
#include "ipc/ipc_message_macros.h"
#include "ui/base/range/range.h"
diff --git a/content/browser/speech/google_streaming_remote_engine.cc b/content/browser/speech/google_streaming_remote_engine.cc
index 2ababe5..d86c180 100644
--- a/content/browser/speech/google_streaming_remote_engine.cc
+++ b/content/browser/speech/google_streaming_remote_engine.cc
@@ -15,7 +15,6 @@
#include "base/utf_string_conversions.h"
#include "content/browser/speech/audio_buffer.h"
#include "content/browser/speech/proto/google_streaming_api.pb.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/speech_recognition_error.h"
#include "content/public/common/speech_recognition_result.h"
@@ -411,7 +410,7 @@ GoogleStreamingRemoteEngine::ProcessDownstreamResponse(
}
if (ws_event.has_status()) {
- switch(ws_event.status()) {
+ switch (ws_event.status()) {
case proto::SpeechRecognitionEvent::STATUS_SUCCESS:
break;
case proto::SpeechRecognitionEvent::STATUS_NO_SPEECH:
diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc
index 352fd22..2a0b43c 100644
--- a/content/browser/utility_process_host_impl.cc
+++ b/content/browser/utility_process_host_impl.cc
@@ -12,6 +12,7 @@
#include "content/browser/browser_child_process_host_impl.h"
#include "content/common/child_process_host_impl.h"
#include "content/common/utility_messages.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/utility_process_host_client.h"
#include "content/public/common/content_switches.h"
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index 76c85d5..4922e9c 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/browser_child_process_host_delegate.h"
#include "content/public/browser/utility_process_host.h"
diff --git a/content/public/browser/browser_main_parts.h b/content/public/browser/browser_main_parts.h
index 460ad91..d976253 100644
--- a/content/public/browser/browser_main_parts.h
+++ b/content/public/browser/browser_main_parts.h
@@ -7,7 +7,6 @@
#include "base/basictypes.h"
#include "content/common/content_export.h"
-#include "content/public/browser/browser_thread.h"
namespace content {
diff --git a/content/public/browser/browser_ppapi_host.h b/content/public/browser/browser_ppapi_host.h
index 08c5f07..ac62a07 100644
--- a/content/public/browser/browser_ppapi_host.h
+++ b/content/public/browser/browser_ppapi_host.h
@@ -8,7 +8,6 @@
#include "base/callback_forward.h"
#include "base/process.h"
#include "content/common/content_export.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_view_host.h"
#include "googleurl/src/gurl.h"
#include "ppapi/c/pp_instance.h"
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h
index edc7ca6..fa98dd9 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -36,7 +36,6 @@
#include "base/gtest_prod_util.h"
#include "base/sequenced_task_runner_helpers.h"
#include "base/time.h"
-#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_id.h"
#include "content/public/browser/download_interrupt_reasons.h"
#include "content/public/browser/download_item.h"
diff --git a/content/public/browser/utility_process_host.h b/content/public/browser/utility_process_host.h
index 95ad3d2..240fbe5 100644
--- a/content/public/browser/utility_process_host.h
+++ b/content/public/browser/utility_process_host.h
@@ -7,11 +7,14 @@
#include "base/process_util.h"
#include "content/common/content_export.h"
-#include "content/public/browser/browser_thread.h"
#include "ipc/ipc_sender.h"
class FilePath;
+namespace base {
+class SequencedTaskRunner;
+}
+
namespace content {
class UtilityProcessHostClient;
struct ChildProcessData;