diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-04 02:26:38 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-04 02:26:38 +0000 |
commit | cce1bad65d886b5225b4b4e8c476b63add155c78 (patch) | |
tree | 6321c4e0dbfeb4ad94dd137df58e6ef3d735a615 | |
parent | f647698e2cebe7bfcaeb844e29640adb7bdff152 (diff) | |
download | chromium_src-cce1bad65d886b5225b4b4e8c476b63add155c78.zip chromium_src-cce1bad65d886b5225b4b4e8c476b63add155c78.tar.gz chromium_src-cce1bad65d886b5225b4b4e8c476b63add155c78.tar.bz2 |
Cleanup: Remove more unneeded browser_thread.h includes.
Review URL: https://chromiumcodereview.appspot.com/11740018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175086 0039d316-1c4b-4281-b951-d872f2087c98
62 files changed, 20 insertions, 73 deletions
diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc index 0e81fa4..2495f43 100644 --- a/chrome/browser/autocomplete/history_url_provider.cc +++ b/chrome/browser/autocomplete/history_url_provider.cc @@ -27,7 +27,6 @@ #include "chrome/common/chrome_switches.h" #include "chrome/common/pref_names.h" #include "chrome/common/url_constants.h" -#include "content/public/browser/browser_thread.h" #include "googleurl/src/gurl.h" #include "googleurl/src/url_parse.h" #include "googleurl/src/url_util.h" diff --git a/chrome/browser/autofill/personal_data_manager.cc b/chrome/browser/autofill/personal_data_manager.cc index b110050..14b6b17 100644 --- a/chrome/browser/autofill/personal_data_manager.cc +++ b/chrome/browser/autofill/personal_data_manager.cc @@ -27,7 +27,6 @@ #include "chrome/common/chrome_notification_types.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/notification_source.h" using content::BrowserContext; diff --git a/chrome/browser/background/background_application_list_model_unittest.cc b/chrome/browser/background/background_application_list_model_unittest.cc index 1a7dd09..ef775b8 100644 --- a/chrome/browser/background/background_application_list_model_unittest.cc +++ b/chrome/browser/background/background_application_list_model_unittest.cc @@ -26,7 +26,6 @@ #include "chrome/test/base/testing_profile.h" #include "content/public/browser/notification_registrar.h" #include "content/public/browser/notification_types.h" -#include "content/public/test/test_browser_thread.h" #include "testing/gtest/include/gtest/gtest.h" // This value is used to seed the PRNG at the beginning of a sequence of diff --git a/chrome/browser/browser_commands_unittest.cc b/chrome/browser/browser_commands_unittest.cc index 2f3f716..15155a8 100644 --- a/chrome/browser/browser_commands_unittest.cc +++ b/chrome/browser/browser_commands_unittest.cc @@ -15,7 +15,6 @@ #include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_entry.h" #include "content/public/browser/web_contents.h" -#include "content/public/test/test_browser_thread.h" #if defined(OS_CHROMEOS) #include "chrome/browser/chromeos/login/mock_user_manager.h" diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper.cc b/chrome/browser/browsing_data/browsing_data_quota_helper.cc index 2b06311..1a5b032 100644 --- a/chrome/browser/browsing_data/browsing_data_quota_helper.cc +++ b/chrome/browser/browsing_data/browsing_data_quota_helper.cc @@ -4,6 +4,8 @@ #include "chrome/browser/browsing_data/browsing_data_quota_helper.h" +#include "base/location.h" + BrowsingDataQuotaHelper::QuotaInfo::QuotaInfo() : temporary_usage(0), persistent_usage(0) {} diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper.h b/chrome/browser/browsing_data/browsing_data_quota_helper.h index 4c97513..0689282 100644 --- a/chrome/browser/browsing_data/browsing_data_quota_helper.h +++ b/chrome/browser/browsing_data/browsing_data_quota_helper.h @@ -12,7 +12,6 @@ #include "base/memory/ref_counted.h" #include "base/message_loop_proxy.h" #include "base/sequenced_task_runner_helpers.h" -#include "content/public/browser/browser_thread.h" #include "webkit/quota/quota_types.h" class BrowsingDataQuotaHelper; diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc index a65739d..fd63afe 100644 --- a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc +++ b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc @@ -13,6 +13,7 @@ #include "chrome/common/url_constants.h" #include "chrome/browser/browsing_data/browsing_data_helper.h" #include "content/public/browser/browser_context.h" +#include "content/public/browser/browser_thread.h" #include "content/public/browser/storage_partition.h" #include "webkit/quota/quota_manager.h" diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h index 19404e3..c8132fc 100644 --- a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h +++ b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h @@ -14,7 +14,6 @@ #include "base/memory/ref_counted.h" #include "base/memory/weak_ptr.h" #include "chrome/browser/browsing_data/browsing_data_quota_helper.h" -#include "content/public/browser/browser_thread.h" #include "webkit/quota/quota_types.h" namespace quota { diff --git a/chrome/browser/browsing_data/mock_browsing_data_quota_helper.cc b/chrome/browser/browsing_data/mock_browsing_data_quota_helper.cc index 6ff8518..93b2ac0 100644 --- a/chrome/browser/browsing_data/mock_browsing_data_quota_helper.cc +++ b/chrome/browser/browsing_data/mock_browsing_data_quota_helper.cc @@ -4,6 +4,8 @@ #include "chrome/browser/browsing_data/mock_browsing_data_quota_helper.h" +#include "content/public/browser/browser_thread.h" + using content::BrowserThread; MockBrowsingDataQuotaHelper::MockBrowsingDataQuotaHelper(Profile* profile) diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h index 4250951..0686e10 100644 --- a/chrome/browser/chrome_browser_main.h +++ b/chrome/browser/chrome_browser_main.h @@ -17,7 +17,6 @@ #include "chrome/browser/task_profiler/auto_tracking.h" #include "chrome/browser/ui/startup/startup_browser_creator.h" #include "content/public/browser/browser_main_parts.h" -#include "content/public/browser/browser_thread.h" class BrowserProcessImpl; class ChromeBrowserMainExtraParts; @@ -104,7 +103,6 @@ class ChromeBrowserMainParts : public content::BrowserMainParts { const PrefService* local_state() const { return local_state_; } private: - // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- // Constructs metrics service and does related initialization, including diff --git a/chrome/browser/chromeos/audio/audio_handler.cc b/chrome/browser/chromeos/audio/audio_handler.cc index 6d3da0d..d509319 100644 --- a/chrome/browser/chromeos/audio/audio_handler.cc +++ b/chrome/browser/chromeos/audio/audio_handler.cc @@ -7,6 +7,8 @@ #include <algorithm> #include <cmath> +#include "base/bind.h" +#include "base/bind_helpers.h" #include "base/logging.h" #include "base/memory/singleton.h" #include "chrome/browser/browser_process.h" @@ -18,7 +20,6 @@ #include "chrome/browser/prefs/pref_service.h" #include "chrome/common/chrome_notification_types.h" #include "chrome/common/pref_names.h" -#include "content/public/browser/browser_thread.h" using std::max; using std::min; diff --git a/chrome/browser/chromeos/extensions/file_browser_notifications.cc b/chrome/browser/chromeos/extensions/file_browser_notifications.cc index c05c04b..b40ed8c 100644 --- a/chrome/browser/chromeos/extensions/file_browser_notifications.cc +++ b/chrome/browser/chromeos/extensions/file_browser_notifications.cc @@ -15,7 +15,6 @@ #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_list.h" #include "chrome/browser/ui/webui/web_ui_util.h" -#include "content/public/browser/browser_thread.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" #include "ui/base/l10n/l10n_util.h" diff --git a/chrome/browser/chromeos/extensions/file_browser_private_apitest.cc b/chrome/browser/chromeos/extensions/file_browser_private_apitest.cc index 9150473..c9025ef 100644 --- a/chrome/browser/chromeos/extensions/file_browser_private_apitest.cc +++ b/chrome/browser/chromeos/extensions/file_browser_private_apitest.cc @@ -11,7 +11,6 @@ #include "chrome/test/base/ui_test_utils.h" #include "chromeos/disks/mock_disk_mount_manager.h" #include "content/public/browser/browser_context.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/storage_partition.h" #include "webkit/fileapi/file_system_context.h" #include "webkit/fileapi/file_system_mount_point_provider.h" @@ -233,7 +232,6 @@ class ExtensionFileBrowserPrivateApiTest : public ExtensionApiTest { kTestDisks[disk_info_index].is_hidden ) )); - } } } diff --git a/chrome/browser/chromeos/login/mock_url_fetchers.cc b/chrome/browser/chromeos/login/mock_url_fetchers.cc index f86536c..dbab82e 100644 --- a/chrome/browser/chromeos/login/mock_url_fetchers.cc +++ b/chrome/browser/chromeos/login/mock_url_fetchers.cc @@ -9,7 +9,6 @@ #include "base/bind.h" #include "base/message_loop.h" #include "base/stringprintf.h" -#include "content/public/browser/browser_thread.h" #include "googleurl/src/gurl.h" #include "net/http/http_status_code.h" #include "net/url_request/url_fetcher.h" diff --git a/chrome/browser/chromeos/login/user_manager.cc b/chrome/browser/chromeos/login/user_manager.cc index 4cc4474..d99bdd4 100644 --- a/chrome/browser/chromeos/login/user_manager.cc +++ b/chrome/browser/chromeos/login/user_manager.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/login/user_manager.h" #include "chrome/browser/chromeos/login/user_manager_impl.h" -#include "content/public/browser/browser_thread.h" namespace chromeos { diff --git a/chrome/browser/chromeos/net/network_portal_detector.cc b/chrome/browser/chromeos/net/network_portal_detector.cc index 9e52576..db9580b 100644 --- a/chrome/browser/chromeos/net/network_portal_detector.cc +++ b/chrome/browser/chromeos/net/network_portal_detector.cc @@ -11,7 +11,6 @@ #include "chrome/browser/browser_process.h" #include "chrome/browser/chromeos/cros/cros_library.h" #include "chrome/common/chrome_switches.h" -#include "content/public/browser/browser_thread.h" #include "grit/generated_resources.h" #include "ui/base/l10n/l10n_util.h" diff --git a/chrome/browser/chromeos/process_proxy/process_proxy_registry.cc b/chrome/browser/chromeos/process_proxy/process_proxy_registry.cc index 22191fc..859908a 100644 --- a/chrome/browser/chromeos/process_proxy/process_proxy_registry.cc +++ b/chrome/browser/chromeos/process_proxy/process_proxy_registry.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/process_proxy/process_proxy_registry.h" #include "base/bind.h" -#include "content/public/browser/browser_thread.h" namespace { diff --git a/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc b/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc index 5ac1019..220d928 100644 --- a/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc +++ b/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc @@ -24,7 +24,6 @@ #include "chrome/common/chrome_switches.h" #include "chrome/common/pref_names.h" #include "chrome/test/base/testing_profile.h" -#include "content/public/browser/browser_thread.h" #include "content/public/test/test_utils.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/views/widget/widget.h" @@ -453,4 +452,4 @@ IN_PROC_BROWSER_TEST_F(TrayAccessibilityTest, CheckMarksOnDetailMenu) { CloseDetailMenu(); } -} +} // namespace chromeos diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc index 8374180..eb3c903 100644 --- a/chrome/browser/content_settings/tab_specific_content_settings.cc +++ b/chrome/browser/content_settings/tab_specific_content_settings.cc @@ -23,6 +23,7 @@ #include "chrome/common/chrome_notification_types.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/render_messages.h" +#include "content/public/browser/browser_thread.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_details.h" #include "content/public/browser/navigation_entry.h" diff --git a/chrome/browser/devtools/browser_list_tabcontents_provider.cc b/chrome/browser/devtools/browser_list_tabcontents_provider.cc index 7390453..d8429df 100644 --- a/chrome/browser/devtools/browser_list_tabcontents_provider.cc +++ b/chrome/browser/devtools/browser_list_tabcontents_provider.cc @@ -13,7 +13,6 @@ #include "chrome/browser/ui/browser_list.h" #include "chrome/browser/ui/browser_tabstrip.h" #include "chrome/common/chrome_paths.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/web_contents.h" #include "content/public/common/url_constants.h" #include "grit/devtools_discovery_page_resources.h" diff --git a/chrome/browser/download/download_danger_prompt.cc b/chrome/browser/download/download_danger_prompt.cc index e3c463a..5929e39 100644 --- a/chrome/browser/download/download_danger_prompt.cc +++ b/chrome/browser/download/download_danger_prompt.cc @@ -8,7 +8,6 @@ #include "chrome/browser/download/chrome_download_manager_delegate.h" #include "chrome/browser/ui/tab_modal_confirm_dialog.h" #include "chrome/browser/ui/tab_modal_confirm_dialog_delegate.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/download_danger_type.h" #include "content/public/browser/download_item.h" #include "grit/generated_resources.h" @@ -139,7 +138,7 @@ void DownloadDangerPromptImpl::PrepareToClose() { } } -} // namespace +} // namespace // static DownloadDangerPrompt* DownloadDangerPrompt::Create( diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc index 15c3d0a..90d045b 100644 --- a/chrome/browser/download/download_util.cc +++ b/chrome/browser/download/download_util.cc @@ -30,7 +30,6 @@ #include "chrome/common/chrome_notification_types.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/time_format.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/render_view_host.h" diff --git a/chrome/browser/download/save_package_file_picker_chromeos.cc b/chrome/browser/download/save_package_file_picker_chromeos.cc index a27f9c82..225b5d2 100644 --- a/chrome/browser/download/save_package_file_picker_chromeos.cc +++ b/chrome/browser/download/save_package_file_picker_chromeos.cc @@ -13,7 +13,6 @@ #include "chrome/browser/platform_util.h" #include "chrome/browser/profiles/profile_manager.h" #include "chrome/browser/ui/chrome_select_file_policy.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/download_item.h" #include "content/public/browser/web_contents.h" #include "ui/base/dialogs/selected_file_info.h" diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api.cc b/chrome/browser/extensions/api/developer_private/developer_private_api.cc index 8732781..65e3d72 100644 --- a/chrome/browser/extensions/api/developer_private/developer_private_api.cc +++ b/chrome/browser/extensions/api/developer_private/developer_private_api.cc @@ -17,7 +17,6 @@ #include "chrome/browser/ui/webui/extensions/extension_icon_source.h" #include "chrome/browser/view_type_utils.h" #include "chrome/common/extensions/api/developer_private.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/render_process_host.h" #include "content/public/browser/render_view_host.h" #include "content/public/browser/web_contents.h" @@ -124,12 +123,11 @@ scoped_ptr<developer::ItemInfo> DeveloperPrivateAPI::CreateItemInfo( void DeveloperPrivateAPI::AddItemsInfo(const ExtensionSet& items, ExtensionSystem* system, ItemInfoList* item_list) { - for (ExtensionSet::const_iterator iter = items.begin(); iter != items.end(); ++iter) { const Extension& item = **iter; if (item.location() == Extension::COMPONENT) - continue; // Skip built-in extensions / apps; + continue; // Skip built-in extensions / apps; item_list->push_back(make_linked_ptr<developer::ItemInfo>( CreateItemInfo(item, system, false).release())); } diff --git a/chrome/browser/extensions/api/discovery/suggested_links_registry.h b/chrome/browser/extensions/api/discovery/suggested_links_registry.h index 944c64b..245b23f 100644 --- a/chrome/browser/extensions/api/discovery/suggested_links_registry.h +++ b/chrome/browser/extensions/api/discovery/suggested_links_registry.h @@ -7,9 +7,9 @@ #include <map> +#include "base/memory/scoped_ptr.h" #include "chrome/browser/extensions/api/discovery/suggested_link.h" #include "chrome/browser/profiles/profile_keyed_service.h" -#include "content/public/browser/browser_thread.h" namespace extensions { diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host_win.cc b/chrome/browser/extensions/api/messaging/native_message_process_host_win.cc index a9a6819..ce0b075 100644 --- a/chrome/browser/extensions/api/messaging/native_message_process_host_win.cc +++ b/chrome/browser/extensions/api/messaging/native_message_process_host_win.cc @@ -10,7 +10,6 @@ #include "base/message_pump_win.h" #include "base/platform_file.h" #include "base/process_util.h" -#include "content/public/browser/browser_thread.h" namespace extensions { diff --git a/chrome/browser/extensions/api/processes/processes_api.cc b/chrome/browser/extensions/api/processes/processes_api.cc index 94c2565..b601f34 100644 --- a/chrome/browser/extensions/api/processes/processes_api.cc +++ b/chrome/browser/extensions/api/processes/processes_api.cc @@ -24,7 +24,6 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/task_manager/task_manager.h" #include "chrome/common/chrome_notification_types.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/notification_details.h" #include "content/public/browser/notification_service.h" #include "content/public/browser/notification_source.h" diff --git a/chrome/browser/extensions/api/tab_capture/tab_capture_registry.h b/chrome/browser/extensions/api/tab_capture/tab_capture_registry.h index 3455bed..df9531d 100644 --- a/chrome/browser/extensions/api/tab_capture/tab_capture_registry.h +++ b/chrome/browser/extensions/api/tab_capture/tab_capture_registry.h @@ -14,7 +14,6 @@ #include "chrome/browser/media/media_internals_observer.h" #include "chrome/browser/profiles/profile_keyed_service.h" #include "chrome/common/extensions/api/tab_capture.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/media_request_state.h" #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" diff --git a/chrome/browser/extensions/bundle_installer.cc b/chrome/browser/extensions/bundle_installer.cc index b068680..c216cc9 100644 --- a/chrome/browser/extensions/bundle_installer.cc +++ b/chrome/browser/extensions/bundle_installer.cc @@ -22,7 +22,6 @@ #include "chrome/common/extensions/extension.h" #include "chrome/common/extensions/extension_manifest_constants.h" #include "chrome/common/extensions/permissions/permission_set.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browser/web_contents.h" #include "grit/generated_resources.h" diff --git a/chrome/browser/extensions/event_router_forwarder.h b/chrome/browser/extensions/event_router_forwarder.h index 2752c82..f03debe 100644 --- a/chrome/browser/extensions/event_router_forwarder.h +++ b/chrome/browser/extensions/event_router_forwarder.h @@ -11,7 +11,6 @@ #include "base/memory/ref_counted.h" #include "base/values.h" #include "chrome/browser/profiles/profile.h" -#include "content/public/browser/browser_thread.h" class GURL; diff --git a/chrome/browser/extensions/external_policy_loader.cc b/chrome/browser/extensions/external_policy_loader.cc index c1ea23b..d84421a 100644 --- a/chrome/browser/extensions/external_policy_loader.cc +++ b/chrome/browser/extensions/external_policy_loader.cc @@ -4,6 +4,7 @@ #include "chrome/browser/extensions/external_policy_loader.h" +#include "base/bind.h" #include "base/logging.h" #include "base/stringprintf.h" #include "base/values.h" @@ -12,7 +13,6 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/common/chrome_notification_types.h" #include "chrome/common/pref_names.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/notification_details.h" #include "content/public/browser/notification_source.h" diff --git a/chrome/browser/extensions/sandboxed_unpacker.h b/chrome/browser/extensions/sandboxed_unpacker.h index dc337c71..bb3d4f3 100644 --- a/chrome/browser/extensions/sandboxed_unpacker.h +++ b/chrome/browser/extensions/sandboxed_unpacker.h @@ -11,7 +11,6 @@ #include "base/files/scoped_temp_dir.h" #include "base/memory/ref_counted.h" #include "chrome/common/extensions/extension.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/utility_process_host_client.h" namespace base { @@ -69,7 +68,6 @@ class SandboxedUnpackerClient // NOTE: This class should only be used on the file thread. class SandboxedUnpacker : public content::UtilityProcessHostClient { public: - // Unpacks the extension in |crx_path| into a temporary directory and calls // |client| with the result. If |run_out_of_process| is provided, unpacking // is done in a sandboxed subprocess. Otherwise, it is done in-process. diff --git a/chrome/browser/history/download_database.cc b/chrome/browser/history/download_database.cc index f337eb4..ba5345e 100644 --- a/chrome/browser/history/download_database.cc +++ b/chrome/browser/history/download_database.cc @@ -15,7 +15,6 @@ #include "base/utf_string_conversions.h" #include "build/build_config.h" #include "chrome/browser/history/download_row.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/download_item.h" #include "sql/statement.h" diff --git a/chrome/browser/history/url_index_private_data.cc b/chrome/browser/history/url_index_private_data.cc index ca38009..cd7634c 100644 --- a/chrome/browser/history/url_index_private_data.cc +++ b/chrome/browser/history/url_index_private_data.cc @@ -23,7 +23,6 @@ #include "chrome/browser/autocomplete/url_prefix.h" #include "chrome/browser/history/history_database.h" #include "chrome/browser/history/in_memory_url_index.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/notification_details.h" #include "content/public/browser/notification_service.h" #include "content/public/browser/notification_source.h" diff --git a/chrome/browser/internal_auth.cc b/chrome/browser/internal_auth.cc index b610832..823d125 100644 --- a/chrome/browser/internal_auth.cc +++ b/chrome/browser/internal_auth.cc @@ -17,7 +17,6 @@ #include "base/threading/thread_checker.h" #include "base/time.h" #include "base/values.h" -#include "content/public/browser/browser_thread.h" #include "crypto/hmac.h" namespace { diff --git a/chrome/browser/internal_auth_unittest.cc b/chrome/browser/internal_auth_unittest.cc index 689458b..42080cd 100644 --- a/chrome/browser/internal_auth_unittest.cc +++ b/chrome/browser/internal_auth_unittest.cc @@ -9,7 +9,6 @@ #include "base/lazy_instance.h" #include "base/message_loop.h" #include "base/time.h" -#include "content/public/test/test_browser_thread.h" #include "testing/gtest/include/gtest/gtest.h" namespace chrome { diff --git a/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc b/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc index 1045b9f..14bdc467 100644 --- a/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc +++ b/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc @@ -9,7 +9,6 @@ #include "chrome/browser/nacl_host/nacl_browser.h" #include "chrome/common/chrome_switches.h" #include "chrome/test/ppapi/ppapi_test.h" -#include "content/public/test/test_browser_thread.h" #include "content/public/test/test_utils.h" class NaClGdbDebugStubTest : public PPAPINaClNewlibTest { @@ -21,7 +20,6 @@ class NaClGdbDebugStubTest : public PPAPINaClNewlibTest { void StartTestScript(base::ProcessHandle* test_process, std::string test_name, int debug_stub_port); - void RunDebugStubTest(const std::string& nacl_module, const std::string& test_name); }; diff --git a/chrome/browser/policy/cloud_policy_provider_unittest.cc b/chrome/browser/policy/cloud_policy_provider_unittest.cc index d31848f..2efb428 100644 --- a/chrome/browser/policy/cloud_policy_provider_unittest.cc +++ b/chrome/browser/policy/cloud_policy_provider_unittest.cc @@ -8,11 +8,9 @@ #include "base/values.h" #include "chrome/browser/policy/browser_policy_connector.h" #include "chrome/browser/policy/cloud_policy_cache_base.h" -#include "chrome/browser/policy/cloud_policy_provider.h" #include "chrome/browser/policy/mock_configuration_policy_provider.h" #include "chrome/browser/policy/policy_bundle.h" #include "chrome/browser/policy/policy_map.h" -#include "content/public/test/test_browser_thread.h" #include "policy/policy_constants.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/chrome/browser/policy/device_policy_cache_unittest.cc b/chrome/browser/policy/device_policy_cache_unittest.cc index f919a6d..d91f603 100644 --- a/chrome/browser/policy/device_policy_cache_unittest.cc +++ b/chrome/browser/policy/device_policy_cache_unittest.cc @@ -16,7 +16,6 @@ #include "chrome/browser/policy/enterprise_install_attributes.h" #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" #include "chrome/browser/policy/proto/device_management_backend.pb.h" -#include "content/public/test/test_browser_thread.h" #include "policy/policy_constants.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/chrome/browser/predictors/predictor_database_factory.cc b/chrome/browser/predictors/predictor_database_factory.cc index 5e8e1a1..55eafbd 100644 --- a/chrome/browser/predictors/predictor_database_factory.cc +++ b/chrome/browser/predictors/predictor_database_factory.cc @@ -8,7 +8,6 @@ #include "chrome/browser/predictors/predictor_database.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile_dependency_manager.h" -#include "content/public/browser/browser_thread.h" namespace predictors { diff --git a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc index 7191321..7e63e6a 100644 --- a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc +++ b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc @@ -25,7 +25,6 @@ #include "chrome/browser/ui/webui/chrome_url_data_manager.h" #include "chrome/common/pref_names.h" #include "chrome/common/service_messages.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/render_view_host.h" #include "content/public/browser/web_contents.h" #include "content/public/browser/web_ui.h" diff --git a/chrome/browser/safe_browsing/database_manager.h b/chrome/browser/safe_browsing/database_manager.h index 6e6ffe1..9bfefa2 100644 --- a/chrome/browser/safe_browsing/database_manager.h +++ b/chrome/browser/safe_browsing/database_manager.h @@ -21,7 +21,6 @@ #include "base/time.h" #include "chrome/browser/safe_browsing/protocol_manager.h" #include "chrome/browser/safe_browsing/safe_browsing_util.h" -#include "content/public/browser/browser_thread.h" #include "googleurl/src/gurl.h" class SafeBrowsingService; diff --git a/chrome/browser/safe_browsing/malware_details.h b/chrome/browser/safe_browsing/malware_details.h index d285fdd..840288f 100644 --- a/chrome/browser/safe_browsing/malware_details.h +++ b/chrome/browser/safe_browsing/malware_details.h @@ -21,7 +21,6 @@ #include "base/memory/scoped_ptr.h" #include "chrome/browser/safe_browsing/report.pb.h" #include "chrome/browser/safe_browsing/ui_manager.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/web_contents_observer.h" #include "net/base/completion_callback.h" diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc index da98e80..e825e16 100644 --- a/chrome/browser/safe_browsing/protocol_manager.cc +++ b/chrome/browser/safe_browsing/protocol_manager.cc @@ -18,7 +18,6 @@ #include "chrome/browser/safe_browsing/protocol_parser.h" #include "chrome/common/chrome_version_info.h" #include "chrome/common/env_vars.h" -#include "content/public/browser/browser_thread.h" #include "google_apis/google_api_keys.h" #include "net/base/escape.h" #include "net/base/load_flags.h" diff --git a/chrome/browser/safe_browsing/protocol_manager_helper.cc b/chrome/browser/safe_browsing/protocol_manager_helper.cc index 38da596..f7dd5bc 100644 --- a/chrome/browser/safe_browsing/protocol_manager_helper.cc +++ b/chrome/browser/safe_browsing/protocol_manager_helper.cc @@ -14,7 +14,6 @@ #include "base/stringprintf.h" #include "chrome/common/chrome_version_info.h" #include "chrome/common/env_vars.h" -#include "content/public/browser/browser_thread.h" #include "google_apis/google_api_keys.h" #include "net/base/escape.h" diff --git a/chrome/browser/safe_browsing/ui_manager.h b/chrome/browser/safe_browsing/ui_manager.h index 92cd644..b2e394f 100644 --- a/chrome/browser/safe_browsing/ui_manager.h +++ b/chrome/browser/safe_browsing/ui_manager.h @@ -17,7 +17,6 @@ #include "base/observer_list.h" #include "base/time.h" #include "chrome/browser/safe_browsing/safe_browsing_util.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/notification_observer.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/spellchecker/spelling_service_client.cc b/chrome/browser/spellchecker/spelling_service_client.cc index 1ba862d..9e0f4b0 100644 --- a/chrome/browser/spellchecker/spelling_service_client.cc +++ b/chrome/browser/spellchecker/spelling_service_client.cc @@ -17,7 +17,6 @@ #include "chrome/common/chrome_switches.h" #include "chrome/common/pref_names.h" #include "chrome/common/spellcheck_result.h" -#include "content/public/browser/browser_thread.h" #include "google_apis/google_api_keys.h" #include "net/base/load_flags.h" #include "net/url_request/url_fetcher.h" diff --git a/chrome/browser/sync/test/integration/passwords_helper.cc b/chrome/browser/sync/test/integration/passwords_helper.cc index fd8836b..f06f261 100644 --- a/chrome/browser/sync/test/integration/passwords_helper.cc +++ b/chrome/browser/sync/test/integration/passwords_helper.cc @@ -18,7 +18,6 @@ #include "chrome/browser/sync/profile_sync_service_harness.h" #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" #include "chrome/test/base/ui_test_utils.h" -#include "content/public/browser/browser_thread.h" using content::PasswordForm; using sync_datatype_helper::test; diff --git a/chrome/browser/sync/test/integration/sessions_helper.cc b/chrome/browser/sync/test/integration/sessions_helper.cc index d669f32..3043ff9 100644 --- a/chrome/browser/sync/test/integration/sessions_helper.cc +++ b/chrome/browser/sync/test/integration/sessions_helper.cc @@ -19,7 +19,6 @@ #include "chrome/browser/sync/test/integration/sync_test.h" #include "chrome/browser/ui/singleton_tabs.h" #include "chrome/test/base/ui_test_utils.h" -#include "content/public/browser/browser_thread.h" #include "googleurl/src/gurl.h" using sync_datatype_helper::test; diff --git a/chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc b/chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc index a39e2ba..4ea4b60 100644 --- a/chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc +++ b/chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc @@ -8,7 +8,6 @@ #include "base/utf_string_conversions.h" #include "chrome/browser/ui/browser_dialogs.h" #include "chrome/browser/ui/tab_modal_confirm_dialog_delegate.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/notification_types.h" #include "grit/generated_resources.h" #include "ui/base/gtk/gtk_hig_constants.h" @@ -37,7 +36,7 @@ TabModalConfirmDialogGtk::TabModalConfirmDialogGtk( gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); gtk_label_set_selectable(GTK_LABEL(label), TRUE); - GtkWidget *hbox = gtk_hbox_new(FALSE, ui::kControlSpacing); + GtkWidget* hbox = gtk_hbox_new(FALSE, ui::kControlSpacing); gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0); diff --git a/chrome/browser/ui/login/login_prompt_browsertest.cc b/chrome/browser/ui/login/login_prompt_browsertest.cc index c13124d..410ea94 100644 --- a/chrome/browser/ui/login/login_prompt_browsertest.cc +++ b/chrome/browser/ui/login/login_prompt_browsertest.cc @@ -19,7 +19,6 @@ #include "content/public/browser/notification_source.h" #include "content/public/browser/web_contents.h" #include "content/public/test/browser_test_utils.h" -#include "content/public/test/test_browser_thread.h" #include "net/base/auth.h" #include "net/base/mock_host_resolver.h" @@ -448,7 +447,8 @@ IN_PROC_BROWSER_TEST_F(LoginPromptBrowserTest, TestCancelAuth) { WindowedLoadStopObserver load_stop_waiter(controller, 2); WindowedAuthNeededObserver auth_needed_waiter(controller); browser()->OpenURL(OpenURLParams( - auth_page, Referrer(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false)); + auth_page, Referrer(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED, + false)); auth_needed_waiter.Wait(); WindowedAuthCancelledObserver auth_cancelled_waiter(controller); browser()->OpenURL(OpenURLParams( diff --git a/chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc b/chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc index 1b2f7d9..ff2c621 100644 --- a/chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc +++ b/chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc @@ -20,7 +20,6 @@ #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h" #include "chrome/common/jstemplate_builder.h" #include "chrome/common/url_constants.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/web_contents.h" #include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui_message_handler.h" @@ -50,8 +49,8 @@ const char kOperatorNameProperty[] = "operatorName"; const char kStatusProperty[] = "status"; const char kTechnologyProperty[] = "technology"; -ChromeWebUIDataSource *CreateChooseMobileNetworkUIHTMLSource() { - ChromeWebUIDataSource *source = +ChromeWebUIDataSource* CreateChooseMobileNetworkUIHTMLSource() { + ChromeWebUIDataSource* source = new ChromeWebUIDataSource(chrome::kChromeUIChooseMobileNetworkHost); source->AddLocalizedString("chooseNetworkTitle", diff --git a/chrome/browser/ui/webui/chromeos/diagnostics/diagnostics_ui.cc b/chrome/browser/ui/webui/chromeos/diagnostics/diagnostics_ui.cc index e06dfb3..d6ccc9e 100644 --- a/chrome/browser/ui/webui/chromeos/diagnostics/diagnostics_ui.cc +++ b/chrome/browser/ui/webui/chromeos/diagnostics/diagnostics_ui.cc @@ -12,7 +12,6 @@ #include "chrome/common/url_constants.h" #include "chromeos/dbus/debug_daemon_client.h" #include "chromeos/dbus/dbus_thread_manager.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui_message_handler.h" #include "grit/browser_resources.h" @@ -182,4 +181,4 @@ DiagnosticsUI::DiagnosticsUI(content::WebUI* web_ui) ChromeURLDataManager::AddDataSource(profile, source); } -} // namespace chromeos +} // namespace chromeos diff --git a/chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc b/chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc index 67be76c..df193b6 100644 --- a/chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc +++ b/chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc @@ -21,7 +21,6 @@ #include "chrome/common/jstemplate_builder.h" #include "chrome/common/pref_names.h" #include "chrome/common/url_constants.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/page_navigator.h" #include "content/public/browser/web_contents.h" #include "content/public/browser/web_contents_delegate.h" diff --git a/chrome/browser/ui/webui/chromeos/register_page_ui.cc b/chrome/browser/ui/webui/chromeos/register_page_ui.cc index 100fa20e..504dae0 100644 --- a/chrome/browser/ui/webui/chromeos/register_page_ui.cc +++ b/chrome/browser/ui/webui/chromeos/register_page_ui.cc @@ -27,7 +27,6 @@ #include "chrome/browser/ui/webui/chrome_url_data_manager.h" #include "chrome/common/cancelable_task_tracker.h" #include "chrome/common/url_constants.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/web_contents.h" #include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui_message_handler.h" diff --git a/chrome/browser/ui/webui/chromeos/system_info_ui.cc b/chrome/browser/ui/webui/chromeos/system_info_ui.cc index 9699e23..56b05eb 100644 --- a/chrome/browser/ui/webui/chromeos/system_info_ui.cc +++ b/chrome/browser/ui/webui/chromeos/system_info_ui.cc @@ -25,7 +25,6 @@ #include "chrome/common/chrome_paths.h" #include "chrome/common/jstemplate_builder.h" #include "chrome/common/url_constants.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/web_contents.h" #include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui_message_handler.h" diff --git a/chrome/browser/ui/webui/ntp/most_visited_handler.cc b/chrome/browser/ui/webui/ntp/most_visited_handler.cc index 8501479..360a3f5 100644 --- a/chrome/browser/ui/webui/ntp/most_visited_handler.cc +++ b/chrome/browser/ui/webui/ntp/most_visited_handler.cc @@ -31,7 +31,6 @@ #include "chrome/common/chrome_notification_types.h" #include "chrome/common/pref_names.h" #include "chrome/common/url_constants.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_entry.h" #include "content/public/browser/notification_source.h" diff --git a/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc b/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc index 72bd85b..fe98458 100644 --- a/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc +++ b/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc @@ -26,7 +26,6 @@ #include "chrome/browser/ui/webui/ntp/thumbnail_source.h" #include "chrome/common/chrome_notification_types.h" #include "chrome/common/url_constants.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_entry.h" #include "content/public/browser/notification_source.h" diff --git a/chrome/browser/ui/webui/options/options_ui.cc b/chrome/browser/ui/webui/options/options_ui.cc index 48744fe..dd4fb62 100644 --- a/chrome/browser/ui/webui/options/options_ui.cc +++ b/chrome/browser/ui/webui/options/options_ui.cc @@ -47,7 +47,6 @@ #include "chrome/common/jstemplate_builder.h" #include "chrome/common/time_format.h" #include "chrome/common/url_constants.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/notification_types.h" #include "content/public/browser/render_view_host.h" #include "content/public/browser/web_contents.h" diff --git a/chrome/browser/ui/window_sizer/window_sizer_common_unittest.h b/chrome/browser/ui/window_sizer/window_sizer_common_unittest.h index 2682d33..94ae6e34 100644 --- a/chrome/browser/ui/window_sizer/window_sizer_common_unittest.h +++ b/chrome/browser/ui/window_sizer/window_sizer_common_unittest.h @@ -10,7 +10,6 @@ #include "base/logging.h" #include "chrome/browser/ui/window_sizer/window_sizer.h" #include "chrome/test/base/test_browser_window.h" -#include "content/public/browser/browser_thread.h" #include "content/public/test/test_browser_thread.h" #include "ui/gfx/rect.h" @@ -76,7 +75,7 @@ class TestMonitorInfoProvider : public MonitorInfoProvider { class TestStateProvider : public WindowSizer::StateProvider { public: TestStateProvider(); - virtual ~TestStateProvider() {}; + virtual ~TestStateProvider() {} void SetPersistentState(const gfx::Rect& bounds, const gfx::Rect& work_area, diff --git a/chrome/browser/user_style_sheet_watcher.h b/chrome/browser/user_style_sheet_watcher.h index 875b502..5e9fc2c 100644 --- a/chrome/browser/user_style_sheet_watcher.h +++ b/chrome/browser/user_style_sheet_watcher.h @@ -11,7 +11,6 @@ #include "base/memory/scoped_ptr.h" #include "base/sequenced_task_runner_helpers.h" #include "chrome/browser/profiles/refcounted_profile_keyed_service.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/web_resource/promo_resource_service.cc b/chrome/browser/web_resource/promo_resource_service.cc index ad4c185..b354b30 100644 --- a/chrome/browser/web_resource/promo_resource_service.cc +++ b/chrome/browser/web_resource/promo_resource_service.cc @@ -16,7 +16,6 @@ #include "chrome/common/chrome_notification_types.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/pref_names.h" -#include "content/public/browser/browser_thread.h" #include "content/public/browser/notification_service.h" #include "googleurl/src/gurl.h" |