diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-05 05:12:35 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-05 05:12:35 +0000 |
commit | de6b8b6dddc04caaa197cc32e6399553c8e81633 (patch) | |
tree | 0b19e26733d3b194185fcb65a6fde5a46441cc2a /chrome/browser | |
parent | 49abd659faa7286eddef29dea766d7a637473672 (diff) | |
download | chromium_src-de6b8b6dddc04caaa197cc32e6399553c8e81633.zip chromium_src-de6b8b6dddc04caaa197cc32e6399553c8e81633.tar.gz chromium_src-de6b8b6dddc04caaa197cc32e6399553c8e81633.tar.bz2 |
FBTF: Remove unneeded headers from base/ (part 1)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3071012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
23 files changed, 7 insertions, 34 deletions
diff --git a/chrome/browser/browser_accessibility_manager_win.cc b/chrome/browser/browser_accessibility_manager_win.cc index eddb1c3..c1ce8a7 100644 --- a/chrome/browser/browser_accessibility_manager_win.cc +++ b/chrome/browser/browser_accessibility_manager_win.cc @@ -4,7 +4,6 @@ #include "chrome/browser/browser_accessibility_manager_win.h" -#include "base/scoped_comptr_win.h" #include "chrome/browser/browser_accessibility_win.h" #include "chrome/browser/renderer_host/render_process_host.h" #include "chrome/browser/renderer_host/render_view_host.h" diff --git a/chrome/browser/browser_accessibility_win.h b/chrome/browser/browser_accessibility_win.h index 7725ea5..eb04c51 100644 --- a/chrome/browser/browser_accessibility_win.h +++ b/chrome/browser/browser_accessibility_win.h @@ -12,7 +12,6 @@ #include <vector> -#include "base/scoped_comptr_win.h" #include "chrome/browser/browser_accessibility_manager_win.h" #include "ia2_api_all.h" // Generated #include "webkit/glue/webaccessibility.h" diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 60fab61..04fd26b 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -111,8 +111,6 @@ #include "app/l10n_util_win.h" #include "app/win_util.h" -#include "base/registry.h" -#include "base/win_util.h" #include "chrome/browser/browser_trial.h" #include "chrome/browser/metrics/user_metrics.h" #include "chrome/browser/net/url_fixer_upper.h" diff --git a/chrome/browser/chromeos/login/google_authenticator.h b/chrome/browser/chromeos/login/google_authenticator.h index 8b0acb2..155679c 100644 --- a/chrome/browser/chromeos/login/google_authenticator.h +++ b/chrome/browser/chromeos/login/google_authenticator.h @@ -13,7 +13,6 @@ #include "base/file_path.h" #include "base/gtest_prod_util.h" #include "base/ref_counted.h" -#include "base/sha2.h" #include "chrome/browser/chromeos/cros/cros_library.h" #include "chrome/browser/chromeos/cros/cryptohome_library.h" #include "chrome/browser/chromeos/login/authenticator.h" diff --git a/chrome/browser/diagnostics/diagnostics_main.cc b/chrome/browser/diagnostics/diagnostics_main.cc index 7ea33d8..bf88222 100644 --- a/chrome/browser/diagnostics/diagnostics_main.cc +++ b/chrome/browser/diagnostics/diagnostics_main.cc @@ -22,10 +22,6 @@ #include "chrome/browser/diagnostics/diagnostics_model.h" #include "chrome/common/chrome_paths.h" -#if defined(OS_WIN) -#include "base/win_util.h" -#endif - namespace { // This is a minimalistic interface to wrap the platform console. This will be // eventually replaced by a view that can be subclassed for each platform and diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc index f2e3a65..28adb8d 100644 --- a/chrome/browser/download/download_manager.cc +++ b/chrome/browser/download/download_manager.cc @@ -46,8 +46,6 @@ #if defined(OS_WIN) #include "app/win_util.h" -#include "base/registry.h" -#include "base/win_util.h" #endif namespace { diff --git a/chrome/browser/extensions/extension_install_ui.cc b/chrome/browser/extensions/extension_install_ui.cc index 298327a..307bcd5 100644 --- a/chrome/browser/extensions/extension_install_ui.cc +++ b/chrome/browser/extensions/extension_install_ui.cc @@ -10,7 +10,6 @@ #include "app/resource_bundle.h" #include "base/command_line.h" #include "base/file_util.h" -#include "base/rand_util.h" #include "base/string_number_conversions.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" diff --git a/chrome/browser/extensions/extension_updater.cc b/chrome/browser/extensions/extension_updater.cc index f0da90f..015002c 100644 --- a/chrome/browser/extensions/extension_updater.cc +++ b/chrome/browser/extensions/extension_updater.cc @@ -35,9 +35,7 @@ #include "net/base/load_flags.h" #include "net/url_request/url_request_status.h" -#if defined(OS_WIN) -#include "base/registry.h" -#elif defined(OS_MACOSX) +#if defined(OS_MACOSX) #include "base/sys_string_conversions.h" #endif diff --git a/chrome/browser/extensions/extension_updater_unittest.cc b/chrome/browser/extensions/extension_updater_unittest.cc index 8f314a9..c9d472e7 100644 --- a/chrome/browser/extensions/extension_updater_unittest.cc +++ b/chrome/browser/extensions/extension_updater_unittest.cc @@ -5,7 +5,6 @@ #include <map> #include "base/file_util.h" -#include "base/rand_util.h" #include "base/scoped_ptr.h" #include "base/stl_util-inl.h" #include "base/string_number_conversions.h" diff --git a/chrome/browser/google_update_settings_posix.cc b/chrome/browser/google_update_settings_posix.cc index d1ce592..7a77e60 100644 --- a/chrome/browser/google_update_settings_posix.cc +++ b/chrome/browser/google_update_settings_posix.cc @@ -8,7 +8,6 @@ #include "base/file_util.h" #include "base/logging.h" #include "base/path_service.h" -#include "base/rand_util.h" #include "base/string_util.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" diff --git a/chrome/browser/gtk/extension_install_prompt2_gtk.cc b/chrome/browser/gtk/extension_install_prompt2_gtk.cc index 106a0eb..f22bbfc 100644 --- a/chrome/browser/gtk/extension_install_prompt2_gtk.cc +++ b/chrome/browser/gtk/extension_install_prompt2_gtk.cc @@ -5,7 +5,6 @@ #include <gtk/gtk.h> #include "app/l10n_util.h" -#include "base/rand_util.h" #include "base/string_util.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_window.h" diff --git a/chrome/browser/gtk/extension_install_prompt_gtk.cc b/chrome/browser/gtk/extension_install_prompt_gtk.cc index a0feb83..9fb49b1 100644 --- a/chrome/browser/gtk/extension_install_prompt_gtk.cc +++ b/chrome/browser/gtk/extension_install_prompt_gtk.cc @@ -5,7 +5,6 @@ #include <gtk/gtk.h> #include "app/l10n_util.h" -#include "base/rand_util.h" #include "base/string_util.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_window.h" diff --git a/chrome/browser/icon_loader.cc b/chrome/browser/icon_loader.cc index 19ca22d..2281b89 100644 --- a/chrome/browser/icon_loader.cc +++ b/chrome/browser/icon_loader.cc @@ -5,11 +5,14 @@ #include "chrome/browser/icon_loader.h" #include "base/message_loop.h" -#include "base/mime_util.h" #include "base/thread.h" #include "chrome/browser/browser_process.h" #include "third_party/skia/include/core/SkBitmap.h" +#if defined(TOOLKIT_GTK) +#include "base/mime_util.h" +#endif + IconLoader::IconLoader(const IconGroupID& group, IconSize size, Delegate* delegate) : target_message_loop_(NULL), diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc index 9b51cfa..176eedf 100644 --- a/chrome/browser/metrics/metrics_log.cc +++ b/chrome/browser/metrics/metrics_log.cc @@ -11,7 +11,6 @@ #include "base/basictypes.h" #include "base/file_util.h" #include "base/file_version_info.h" -#include "base/md5.h" #include "base/perftimer.h" #include "base/scoped_ptr.h" #include "base/string_util.h" diff --git a/chrome/browser/printing/printing_layout_uitest.cc b/chrome/browser/printing/printing_layout_uitest.cc index 4d35c75..1d08d42 100644 --- a/chrome/browser/printing/printing_layout_uitest.cc +++ b/chrome/browser/printing/printing_layout_uitest.cc @@ -6,7 +6,6 @@ #include "base/file_util.h" #include "base/simple_thread.h" #include "base/test/test_file_util.h" -#include "base/win_util.h" #include "chrome/common/chrome_paths.h" #include "chrome/test/automation/browser_proxy.h" #include "chrome/test/automation/tab_proxy.h" diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 02ac436..7b3f7d2 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -44,7 +44,6 @@ #include "chrome/browser/keychain_mac.h" #include "chrome/browser/password_manager/password_store_mac.h" #elif defined(OS_POSIX) && !defined(OS_CHROMEOS) -#include "base/xdg_util.h" #include "chrome/browser/password_manager/native_backend_gnome_x.h" #include "chrome/browser/password_manager/native_backend_kwallet_x.h" #include "chrome/browser/password_manager/password_store_x.h" @@ -547,4 +546,3 @@ class OffTheRecordProfileImpl : public Profile, Profile *Profile::CreateOffTheRecordProfile() { return new OffTheRecordProfileImpl(this); } - diff --git a/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc b/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc index 2fd6b30..ab4e3ff 100644 --- a/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc +++ b/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc @@ -10,7 +10,6 @@ #include "base/basictypes.h" #include "base/format_macros.h" -#include "base/rand_util.h" #include "chrome/browser/sync/engine/syncer_util.h" #include "chrome/browser/sync/engine/update_applicator.h" #include "chrome/browser/sync/sessions/sync_session.h" diff --git a/chrome/browser/tab_restore_uitest.cc b/chrome/browser/tab_restore_uitest.cc index dd1bc29..7c2c9da 100644 --- a/chrome/browser/tab_restore_uitest.cc +++ b/chrome/browser/tab_restore_uitest.cc @@ -5,9 +5,6 @@ #include "base/basictypes.h" #include "base/command_line.h" #include "base/file_path.h" -#if defined(OS_WIN) -#include "base/win_util.h" -#endif #include "chrome/app/chrome_dll_resource.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" diff --git a/chrome/browser/views/about_chrome_view.cc b/chrome/browser/views/about_chrome_view.cc index 4eba383..8352acd 100644 --- a/chrome/browser/views/about_chrome_view.cc +++ b/chrome/browser/views/about_chrome_view.cc @@ -41,7 +41,6 @@ #if defined(OS_WIN) #include <commdlg.h> -#include "base/registry.h" #include "base/win_util.h" #include "chrome/browser/views/restart_message_box.h" #include "chrome/installer/util/install_util.h" diff --git a/chrome/browser/views/extensions/extension_install_prompt.cc b/chrome/browser/views/extensions/extension_install_prompt.cc index 3a6329f..dd63d35 100644 --- a/chrome/browser/views/extensions/extension_install_prompt.cc +++ b/chrome/browser/views/extensions/extension_install_prompt.cc @@ -4,7 +4,6 @@ #include "app/l10n_util.h" #include "base/file_util.h" -#include "base/rand_util.h" #include "base/string_util.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_window.h" @@ -139,7 +138,8 @@ class InstallDialogContent : public views::View, public views::DialogDelegate { height += kPanelVertMargin; - return gfx::Size(width, std::max(height, icon_size_ + kPanelVertMargin * 2)); + return gfx::Size(width, + std::max(height, icon_size_ + kPanelVertMargin * 2)); } virtual void Layout() { diff --git a/chrome/browser/views/first_run_bubble.cc b/chrome/browser/views/first_run_bubble.cc index 37c2efd..d1db5146 100644 --- a/chrome/browser/views/first_run_bubble.cc +++ b/chrome/browser/views/first_run_bubble.cc @@ -9,7 +9,6 @@ #include "app/resource_bundle.h" #include "app/win_util.h" #include "base/utf_string_conversions.h" -#include "base/win_util.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_window.h" diff --git a/chrome/browser/views/tab_contents/tab_contents_drag_win.cc b/chrome/browser/views/tab_contents/tab_contents_drag_win.cc index c2050e5..6309e17 100644 --- a/chrome/browser/views/tab_contents/tab_contents_drag_win.cc +++ b/chrome/browser/views/tab_contents/tab_contents_drag_win.cc @@ -13,7 +13,6 @@ #include "base/task.h" #include "base/thread.h" #include "base/utf_string_conversions.h" -#include "base/win_util.h" #include "chrome/browser/bookmarks/bookmark_drag_data.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/download/drag_download_file.h" diff --git a/chrome/browser/views/tab_contents/tab_contents_view_win.cc b/chrome/browser/views/tab_contents/tab_contents_view_win.cc index 2150b5c..b4242af 100644 --- a/chrome/browser/views/tab_contents/tab_contents_view_win.cc +++ b/chrome/browser/views/tab_contents/tab_contents_view_win.cc @@ -9,7 +9,6 @@ #include "base/file_path.h" #include "base/keyboard_codes.h" #include "base/time.h" -#include "base/win_util.h" #include "chrome/browser/browser.h" // TODO(beng): this dependency is awful. #include "chrome/browser/browser_process.h" #include "chrome/browser/download/download_request_limiter.h" |