diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 06:24:28 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 06:24:28 +0000 |
commit | daf66aa4278264f1c924e5905d7c9a706eaf6c91 (patch) | |
tree | e68265f214a22c1e0ebd0133c091448ad0f06f5a | |
parent | 4a398976e30e186ecf4d0b5d9a3b574cd8fd7e48 (diff) | |
download | chromium_src-daf66aa4278264f1c924e5905d7c9a706eaf6c91.zip chromium_src-daf66aa4278264f1c924e5905d7c9a706eaf6c91.tar.gz chromium_src-daf66aa4278264f1c924e5905d7c9a706eaf6c91.tar.bz2 |
FBTF: Remove unneeded headers from base/ (part 3)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3037044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55192 0039d316-1c4b-4281-b951-d872f2087c98
28 files changed, 9 insertions, 29 deletions
diff --git a/base/keyboard_codes_win.h b/base/keyboard_codes_win.h index 9d04580..5893947 100644 --- a/base/keyboard_codes_win.h +++ b/base/keyboard_codes_win.h @@ -181,6 +181,6 @@ typedef enum { VKEY_UNKNOWN = 0 } KeyboardCode; -} // namespace views +} // namespace base #endif // BASE_KEYBOARD_CODES_WIN_H_ diff --git a/chrome/browser/automation/ui_controls_linux.cc b/chrome/browser/automation/ui_controls_linux.cc index 4c19b7d..bdf71df 100644 --- a/chrome/browser/automation/ui_controls_linux.cc +++ b/chrome/browser/automation/ui_controls_linux.cc @@ -9,7 +9,6 @@ #include "gfx/rect.h" #include "base/event_synthesis_gtk.h" -#include "base/keyboard_code_conversion_gtk.h" #include "base/logging.h" #include "base/message_loop.h" #include "chrome/browser/automation/ui_controls_internal.h" diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index c3a320a..f53ab1d 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -16,7 +16,6 @@ #include "app/l10n_util.h" #include "base/base_paths.h" #include "base/command_line.h" -#include "base/keyboard_codes.h" #include "base/logging.h" #include "base/path_service.h" #include "base/string_util.h" diff --git a/chrome/browser/cocoa/browser_window_cocoa.mm b/chrome/browser/cocoa/browser_window_cocoa.mm index bfc52f0..455aa00 100644 --- a/chrome/browser/cocoa/browser_window_cocoa.mm +++ b/chrome/browser/cocoa/browser_window_cocoa.mm @@ -5,7 +5,6 @@ #include "chrome/browser/cocoa/browser_window_cocoa.h" #include "app/l10n_util_mac.h" -#include "base/keyboard_codes.h" #include "base/logging.h" #include "base/message_loop.h" #include "base/sys_string_conversions.h" diff --git a/chrome/browser/cocoa/toolbar_controller.mm b/chrome/browser/cocoa/toolbar_controller.mm index 7a54619..522446ae 100644 --- a/chrome/browser/cocoa/toolbar_controller.mm +++ b/chrome/browser/cocoa/toolbar_controller.mm @@ -10,7 +10,6 @@ #include "app/l10n_util_mac.h" #include "app/menus/accelerator_cocoa.h" #include "app/menus/menu_model.h" -#include "base/keyboard_codes.h" #include "base/mac_util.h" #include "base/nsimage_cache_mac.h" #include "base/singleton.h" diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc index 38ab772..ddc1404 100644 --- a/chrome/browser/extensions/crx_installer.cc +++ b/chrome/browser/extensions/crx_installer.cc @@ -11,6 +11,7 @@ #include "base/scoped_temp_dir.h" #include "base/task.h" #include "base/utf_string_conversions.h" +#include "base/version.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/extensions/convert_user_script.h" diff --git a/chrome/browser/extensions/extensions_ui.cc b/chrome/browser/extensions/extensions_ui.cc index 68c6110..f2badb3 100644 --- a/chrome/browser/extensions/extensions_ui.cc +++ b/chrome/browser/extensions/extensions_ui.cc @@ -13,6 +13,7 @@ #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "base/thread.h" +#include "base/version.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/debugger/devtools_manager.h" diff --git a/chrome/browser/extensions/external_extension_provider.h b/chrome/browser/extensions/external_extension_provider.h index 7e5af55..7291f5b 100644 --- a/chrome/browser/extensions/external_extension_provider.h +++ b/chrome/browser/extensions/external_extension_provider.h @@ -9,10 +9,10 @@ #include <set> #include <string> -#include "base/version.h" #include "chrome/common/extensions/extension.h" class FilePath; +class Version; // This class is an abstract class for implementing external extensions // providers. diff --git a/chrome/browser/gtk/browser_toolbar_gtk.cc b/chrome/browser/gtk/browser_toolbar_gtk.cc index 0afc3c8..8055f38 100644 --- a/chrome/browser/gtk/browser_toolbar_gtk.cc +++ b/chrome/browser/gtk/browser_toolbar_gtk.cc @@ -14,7 +14,6 @@ #include "base/base_paths.h" #include "base/command_line.h" #include "base/i18n/rtl.h" -#include "base/keyboard_codes_posix.h" #include "base/logging.h" #include "base/path_service.h" #include "base/singleton.h" diff --git a/chrome/browser/gtk/tabs/tab_gtk.cc b/chrome/browser/gtk/tabs/tab_gtk.cc index 17e0858..48afd11 100644 --- a/chrome/browser/gtk/tabs/tab_gtk.cc +++ b/chrome/browser/gtk/tabs/tab_gtk.cc @@ -8,7 +8,6 @@ #include "app/gtk_dnd_util.h" #include "app/menus/accelerator_gtk.h" -#include "base/keyboard_codes_posix.h" #include "base/singleton.h" #include "base/utf_string_conversions.h" #include "chrome/app/chrome_dll_resource.h" diff --git a/chrome/browser/plugin_updater.cc b/chrome/browser/plugin_updater.cc index 6ca9b7e..03846aa 100644 --- a/chrome/browser/plugin_updater.cc +++ b/chrome/browser/plugin_updater.cc @@ -10,6 +10,7 @@ #include "base/path_service.h" #include "base/scoped_ptr.h" #include "base/values.h" +#include "base/version.h" #include "chrome/browser/pref_service.h" #include "chrome/browser/profile.h" #include "chrome/common/chrome_paths.h" diff --git a/chrome/browser/sync/glue/extension_util_unittest.cc b/chrome/browser/sync/glue/extension_util_unittest.cc index 65b15c5..9b1bdb0 100644 --- a/chrome/browser/sync/glue/extension_util_unittest.cc +++ b/chrome/browser/sync/glue/extension_util_unittest.cc @@ -6,7 +6,6 @@ #include "base/file_path.h" #include "base/values.h" -#include "base/version.h" #include "chrome/browser/sync/protocol/extension_specifics.pb.h" #include "chrome/common/extensions/extension.h" #include "chrome/common/extensions/extension_constants.h" diff --git a/chrome/browser/sync/glue/theme_util.cc b/chrome/browser/sync/glue/theme_util.cc index d4ed722..a384ef4 100644 --- a/chrome/browser/sync/glue/theme_util.cc +++ b/chrome/browser/sync/glue/theme_util.cc @@ -8,7 +8,6 @@ #include "base/logging.h" #include "base/scoped_ptr.h" -#include "base/version.h" #include "chrome/browser/extensions/extension_install_ui.h" #include "chrome/browser/extensions/extension_updater.h" #include "chrome/browser/extensions/extensions_service.h" diff --git a/chrome/browser/upgrade_detector.cc b/chrome/browser/upgrade_detector.cc index eca03c6..d6de309 100644 --- a/chrome/browser/upgrade_detector.cc +++ b/chrome/browser/upgrade_detector.cc @@ -13,7 +13,6 @@ #include "base/task.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" -#include "base/version.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/pref_service.h" #include "chrome/common/chrome_switches.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 b4242af..cd64382 100644 --- a/chrome/browser/views/tab_contents/tab_contents_view_win.cc +++ b/chrome/browser/views/tab_contents/tab_contents_view_win.cc @@ -7,7 +7,6 @@ #include <windows.h> #include "base/file_path.h" -#include "base/keyboard_codes.h" #include "base/time.h" #include "chrome/browser/browser.h" // TODO(beng): this dependency is awful. #include "chrome/browser/browser_process.h" diff --git a/chrome/browser/views/tabs/dragged_tab_controller.cc b/chrome/browser/views/tabs/dragged_tab_controller.cc index 5b0f775..94685e2 100644 --- a/chrome/browser/views/tabs/dragged_tab_controller.cc +++ b/chrome/browser/views/tabs/dragged_tab_controller.cc @@ -12,7 +12,6 @@ #include "app/resource_bundle.h" #include "base/callback.h" #include "base/i18n/rtl.h" -#include "base/keyboard_codes.h" #include "chrome/browser/browser_window.h" #include "chrome/browser/extensions/extension_function_dispatcher.h" #include "chrome/browser/tab_contents/tab_contents.h" diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc index a6ba770..e3aad5a 100644 --- a/chrome/common/extensions/extension.cc +++ b/chrome/common/extensions/extension.cc @@ -20,6 +20,7 @@ #include "base/third_party/nss/sha256.h" #include "base/string_number_conversions.h" #include "base/utf_string_conversions.h" +#include "base/version.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/chrome_version_info.h" diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h index 4c1b808..5621c12 100644 --- a/chrome/common/extensions/extension.h +++ b/chrome/common/extensions/extension.h @@ -15,7 +15,6 @@ #include "base/gtest_prod_util.h" #include "base/scoped_ptr.h" #include "base/values.h" -#include "base/version.h" #include "chrome/common/extensions/extension_extent.h" #include "chrome/common/extensions/user_script.h" #include "chrome/common/extensions/url_pattern.h" @@ -25,6 +24,7 @@ class ExtensionAction; class ExtensionResource; class SkBitmap; +class Version; // Represents a Chrome extension. class Extension { diff --git a/chrome/common/extensions/update_manifest.h b/chrome/common/extensions/update_manifest.h index 48fe97c..1ef0838 100644 --- a/chrome/common/extensions/update_manifest.h +++ b/chrome/common/extensions/update_manifest.h @@ -11,12 +11,8 @@ #include "base/logging.h" #include "base/scoped_ptr.h" -#include "base/values.h" -#include "base/version.h" #include "googleurl/src/gurl.h" -class Version; - class UpdateManifest { public: @@ -79,4 +75,3 @@ class UpdateManifest { }; #endif // CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_ - diff --git a/chrome/common/extensions/update_manifest_unittest.cc b/chrome/common/extensions/update_manifest_unittest.cc index c38c435..0de8df0 100644 --- a/chrome/common/extensions/update_manifest_unittest.cc +++ b/chrome/common/extensions/update_manifest_unittest.cc @@ -3,7 +3,6 @@ // found in the LICENSE file. #include "base/scoped_vector.h" -#include "base/version.h" #include "chrome/common/extensions/update_manifest.h" #include "testing/gtest/include/gtest/gtest.h" #include "libxml/globals.h" diff --git a/chrome/common/plugin_group.h b/chrome/common/plugin_group.h index e1558ff..7990038 100644 --- a/chrome/common/plugin_group.h +++ b/chrome/common/plugin_group.h @@ -9,13 +9,14 @@ #include <set> #include <vector> +#include "base/gtest_prod_util.h" #include "base/linked_ptr.h" #include "base/scoped_ptr.h" #include "base/string16.h" -#include "base/version.h" #include "webkit/glue/plugins/webplugininfo.h" class DictionaryValue; +class Version; // Hard-coded definitions of plugin groups. struct PluginGroupDefinition { diff --git a/chrome/renderer/pepper_scrollbar_widget.cc b/chrome/renderer/pepper_scrollbar_widget.cc index 76ce97c..63c446a 100644 --- a/chrome/renderer/pepper_scrollbar_widget.cc +++ b/chrome/renderer/pepper_scrollbar_widget.cc @@ -5,7 +5,6 @@ #include "chrome/renderer/pepper_scrollbar_widget.h" #include "base/basictypes.h" -#include "base/keyboard_codes.h" #include "base/logging.h" #include "base/message_loop.h" #include "chrome/renderer/pepper_devices.h" diff --git a/chrome/renderer/webplugin_delegate_pepper.cc b/chrome/renderer/webplugin_delegate_pepper.cc index dbfdb5c..3670aec 100644 --- a/chrome/renderer/webplugin_delegate_pepper.cc +++ b/chrome/renderer/webplugin_delegate_pepper.cc @@ -15,7 +15,6 @@ #include "base/file_path.h" #include "base/file_util.h" -#include "base/keyboard_codes.h" #if defined(OS_MACOSX) #include "base/mac_util.h" #endif diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc index d9cf8f2..1a187b9 100644 --- a/chrome/test/automation/automation_proxy_uitest.cc +++ b/chrome/test/automation/automation_proxy_uitest.cc @@ -10,7 +10,6 @@ #include "base/compiler_specific.h" #include "base/file_path.h" #include "base/i18n/rtl.h" -#include "base/keyboard_codes.h" #include "base/string_util.h" #include "base/sys_info.h" #include "build/build_config.h" diff --git a/chrome/test/ui/npapi_uitest.cc b/chrome/test/ui/npapi_uitest.cc index 253532d..1a7ee68 100644 --- a/chrome/test/ui/npapi_uitest.cc +++ b/chrome/test/ui/npapi_uitest.cc @@ -20,7 +20,6 @@ #include <ostream> #include "base/file_path.h" -#include "base/keyboard_codes.h" #include "base/string_number_conversions.h" #include "chrome/browser/net/url_request_mock_http_job.h" #include "chrome/common/chrome_paths.h" diff --git a/chrome_frame/test/reliability/page_load_test.cc b/chrome_frame/test/reliability/page_load_test.cc index 39a40dc..799c73e 100644 --- a/chrome_frame/test/reliability/page_load_test.cc +++ b/chrome_frame/test/reliability/page_load_test.cc @@ -28,7 +28,6 @@ #include "base/file_path.h" #include "base/file_util.h" #include "base/file_version_info.h" -#include "base/keyboard_codes.h" #include "base/i18n/time_formatting.h" #include "base/path_service.h" #include "base/string_number_conversions.h" diff --git a/views/focus/accelerator_handler_gtk.cc b/views/focus/accelerator_handler_gtk.cc index e0af89b..a45aa83 100644 --- a/views/focus/accelerator_handler_gtk.cc +++ b/views/focus/accelerator_handler_gtk.cc @@ -4,8 +4,6 @@ #include <gtk/gtk.h> -#include "base/keyboard_code_conversion_gtk.h" -#include "base/keyboard_codes.h" #include "views/accelerator.h" #include "views/focus/accelerator_handler.h" #include "views/focus/focus_manager.h" diff --git a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm index 98bafa4..766c8da 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm +++ b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm @@ -12,7 +12,6 @@ #include <set> #include "base/file_util.h" -#include "base/lazy_instance.h" #include "base/message_loop.h" #include "base/scoped_ptr.h" #include "base/stats_counters.h" |