diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-07 07:24:21 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-07 07:24:21 +0000 |
commit | bd7e704434f5bcc171c77d1f12e22362e20cab0f (patch) | |
tree | 3b7b117446ff51a62101dafe499c95a693486f15 | |
parent | 049bdd3b82c88ebc5dbfcfa6b80cb8d16b7d2d5e (diff) | |
download | chromium_src-bd7e704434f5bcc171c77d1f12e22362e20cab0f.zip chromium_src-bd7e704434f5bcc171c77d1f12e22362e20cab0f.tar.gz chromium_src-bd7e704434f5bcc171c77d1f12e22362e20cab0f.tar.bz2 |
FBTF: Remove unneeded headers from base/ (part 5)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3041049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55349 0039d316-1c4b-4281-b951-d872f2087c98
33 files changed, 15 insertions, 36 deletions
diff --git a/chrome/app/chrome_exe_main_gtk.cc b/chrome/app/chrome_exe_main_gtk.cc index b43c3de..f7f8485 100644 --- a/chrome/app/chrome_exe_main_gtk.cc +++ b/chrome/app/chrome_exe_main_gtk.cc @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "base/at_exit.h" #include "base/process_util.h" #if defined(OS_LINUX) && !defined(OS_CHROMEOS) #include "chrome/browser/first_run/first_run.h" diff --git a/chrome/browser/browser_browsertest.cc b/chrome/browser/browser_browsertest.cc index cd7d495..3a548ac 100644 --- a/chrome/browser/browser_browsertest.cc +++ b/chrome/browser/browser_browsertest.cc @@ -6,7 +6,9 @@ #include "app/l10n_util.h" #include "base/compiler_specific.h" +#if defined(OS_WIN) #include "base/i18n/rtl.h" +#endif #include "base/file_path.h" #include "base/sys_info.h" #include "base/utf_string_conversions.h" diff --git a/chrome/browser/chromeos/dom_ui/labs_handler.cc b/chrome/browser/chromeos/dom_ui/labs_handler.cc index 007d673..915941f 100644 --- a/chrome/browser/chromeos/dom_ui/labs_handler.cc +++ b/chrome/browser/chromeos/dom_ui/labs_handler.cc @@ -7,7 +7,6 @@ #include "app/l10n_util.h" #include "base/basictypes.h" #include "base/callback.h" -#include "base/i18n/time_formatting.h" #include "base/stl_util-inl.h" #include "base/time.h" #include "base/utf_string_conversions.h" diff --git a/chrome/browser/chromeos/dom_ui/proxy_handler.cc b/chrome/browser/chromeos/dom_ui/proxy_handler.cc index 36e592b..3d4a722 100644 --- a/chrome/browser/chromeos/dom_ui/proxy_handler.cc +++ b/chrome/browser/chromeos/dom_ui/proxy_handler.cc @@ -8,7 +8,6 @@ #include "app/resource_bundle.h" #include "base/basictypes.h" #include "base/callback.h" -#include "base/i18n/time_formatting.h" #include "base/stl_util-inl.h" #include "base/time.h" #include "base/utf_string_conversions.h" diff --git a/chrome/browser/chromeos/dom_ui/system_options_handler.cc b/chrome/browser/chromeos/dom_ui/system_options_handler.cc index fdabd76..5229865 100644 --- a/chrome/browser/chromeos/dom_ui/system_options_handler.cc +++ b/chrome/browser/chromeos/dom_ui/system_options_handler.cc @@ -7,7 +7,6 @@ #include "app/l10n_util.h" #include "base/basictypes.h" #include "base/callback.h" -#include "base/i18n/time_formatting.h" #include "base/stl_util-inl.h" #include "base/time.h" #include "base/utf_string_conversions.h" diff --git a/chrome/browser/cocoa/cookie_prompt_window_controller.mm b/chrome/browser/cocoa/cookie_prompt_window_controller.mm index 84aa661..345aefb 100644 --- a/chrome/browser/cocoa/cookie_prompt_window_controller.mm +++ b/chrome/browser/cocoa/cookie_prompt_window_controller.mm @@ -9,7 +9,6 @@ #include "app/l10n_util_mac.h" #include "app/resource_bundle.h" -#import "base/i18n/time_formatting.h" #import "base/mac_util.h" #include "base/sys_string_conversions.h" #import "chrome/browser/cocoa/cookie_details_view_controller.h" diff --git a/chrome/browser/cocoa/cookies_window_controller.mm b/chrome/browser/cocoa/cookies_window_controller.mm index 75a8ab7..afd3613 100644 --- a/chrome/browser/cocoa/cookies_window_controller.mm +++ b/chrome/browser/cocoa/cookies_window_controller.mm @@ -9,7 +9,6 @@ #include "app/l10n_util_mac.h" #include "app/resource_bundle.h" -#import "base/i18n/time_formatting.h" #import "base/mac_util.h" #include "base/sys_string_conversions.h" #include "chrome/browser/browsing_data_remover.h" diff --git a/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm index 1715f7a..32d021c 100644 --- a/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm +++ b/chrome/browser/cocoa/location_bar/location_bar_view_mac.mm @@ -6,7 +6,6 @@ #include "app/l10n_util_mac.h" #include "app/resource_bundle.h" -#include "base/i18n/rtl.h" #include "base/nsimage_cache_mac.h" #include "base/stl_util-inl.h" #include "base/string_util.h" diff --git a/chrome/browser/cocoa/page_info_window_mac.mm b/chrome/browser/cocoa/page_info_window_mac.mm index cc40b2e..0f5762a 100644 --- a/chrome/browser/cocoa/page_info_window_mac.mm +++ b/chrome/browser/cocoa/page_info_window_mac.mm @@ -8,7 +8,6 @@ #include "app/l10n_util.h" #include "base/scoped_cftyperef.h" -#include "base/i18n/time_formatting.h" #include "app/resource_bundle.h" #include "base/string_util.h" #include "base/sys_string_conversions.h" diff --git a/chrome/browser/cookies_tree_model.cc b/chrome/browser/cookies_tree_model.cc index 7c33067..0684055 100644 --- a/chrome/browser/cookies_tree_model.cc +++ b/chrome/browser/cookies_tree_model.cc @@ -11,7 +11,6 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/callback.h" -#include "base/i18n/rtl.h" #include "base/linked_ptr.h" #include "base/string_util.h" #include "chrome/browser/extensions/extensions_service.h" diff --git a/chrome/browser/dom_ui/app_launcher_handler.cc b/chrome/browser/dom_ui/app_launcher_handler.cc index 7489a96..0f76bfb 100644 --- a/chrome/browser/dom_ui/app_launcher_handler.cc +++ b/chrome/browser/dom_ui/app_launcher_handler.cc @@ -5,7 +5,6 @@ #include "chrome/browser/dom_ui/app_launcher_handler.h" #include "app/animation.h" -#include "base/base64.h" #include "base/string_number_conversions.h" #include "base/utf_string_conversions.h" #include "base/values.h" diff --git a/chrome/browser/dom_ui/options_ui.cc b/chrome/browser/dom_ui/options_ui.cc index 6968219..8cd48fc 100644 --- a/chrome/browser/dom_ui/options_ui.cc +++ b/chrome/browser/dom_ui/options_ui.cc @@ -8,7 +8,6 @@ #include "app/resource_bundle.h" #include "base/callback.h" -#include "base/i18n/time_formatting.h" #include "base/message_loop.h" #include "base/singleton.h" #include "base/string_piece.h" diff --git a/chrome/browser/dom_ui/sync_options_handler.cc b/chrome/browser/dom_ui/sync_options_handler.cc index 9341429..99a74d5 100644 --- a/chrome/browser/dom_ui/sync_options_handler.cc +++ b/chrome/browser/dom_ui/sync_options_handler.cc @@ -7,7 +7,6 @@ #include "app/l10n_util.h" #include "base/basictypes.h" #include "base/callback.h" -#include "base/i18n/time_formatting.h" #include "base/stl_util-inl.h" #include "base/time.h" #include "base/utf_string_conversions.h" diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc index 176eedf..fb7f8a2 100644 --- a/chrome/browser/metrics/metrics_log.cc +++ b/chrome/browser/metrics/metrics_log.cc @@ -7,7 +7,6 @@ #include <string> #include <vector> -#include "base/base64.h" #include "base/basictypes.h" #include "base/file_util.h" #include "base/file_version_info.h" diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc index 732b416..23ed348 100644 --- a/chrome/browser/safe_browsing/protocol_manager.cc +++ b/chrome/browser/safe_browsing/protocol_manager.cc @@ -4,7 +4,9 @@ #include "chrome/browser/safe_browsing/protocol_manager.h" +#ifndef NDEBUG #include "base/base64.h" +#endif #include "base/environment.h" #include "base/file_version_info.h" #include "base/histogram.h" diff --git a/chrome/browser/ssl/ssl_policy.cc b/chrome/browser/ssl/ssl_policy.cc index d1258cc..ca1300a 100644 --- a/chrome/browser/ssl/ssl_policy.cc +++ b/chrome/browser/ssl/ssl_policy.cc @@ -6,7 +6,6 @@ #include "base/base_switches.h" #include "base/command_line.h" -#include "base/i18n/rtl.h" #include "base/singleton.h" #include "base/string_piece.h" #include "base/string_util.h" diff --git a/chrome/browser/sync/engine/syncer_unittest.cc b/chrome/browser/sync/engine/syncer_unittest.cc index 9db596a..0d9ab8e 100644 --- a/chrome/browser/sync/engine/syncer_unittest.cc +++ b/chrome/browser/sync/engine/syncer_unittest.cc @@ -10,8 +10,6 @@ #include <set> #include <string> -#include "base/at_exit.h" - #include "base/callback.h" #include "base/scoped_ptr.h" #include "base/string_number_conversions.h" diff --git a/chrome/browser/sync/syncable/syncable_unittest.cc b/chrome/browser/sync/syncable/syncable_unittest.cc index 6c5ceff..18695e7 100644 --- a/chrome/browser/sync/syncable/syncable_unittest.cc +++ b/chrome/browser/sync/syncable/syncable_unittest.cc @@ -20,7 +20,6 @@ #include <sys/times.h> #endif // !defined(OS_WIN) -#include "base/at_exit.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/logging.h" diff --git a/chrome/browser/views/cookie_prompt_view.cc b/chrome/browser/views/cookie_prompt_view.cc index 33f85af..fca843ec 100644 --- a/chrome/browser/views/cookie_prompt_view.cc +++ b/chrome/browser/views/cookie_prompt_view.cc @@ -7,7 +7,6 @@ #include <algorithm> #include "app/l10n_util.h" -#include "base/i18n/time_formatting.h" #include "base/message_loop.h" #include "base/utf_string_conversions.h" #include "chrome/browser/browser_process.h" diff --git a/chrome/browser/views/local_storage_set_item_info_view.cc b/chrome/browser/views/local_storage_set_item_info_view.cc index d2bb286..8df4de4 100644 --- a/chrome/browser/views/local_storage_set_item_info_view.cc +++ b/chrome/browser/views/local_storage_set_item_info_view.cc @@ -7,7 +7,6 @@ #include <algorithm> #include "app/l10n_util.h" -#include "base/i18n/time_formatting.h" #include "base/utf_string_conversions.h" #include "gfx/color_utils.h" #include "grit/generated_resources.h" @@ -126,4 +125,3 @@ void LocalStorageSetItemInfoView::Init() { value_value_field_->RemoveBorder(); value_value_field_->SetBackgroundColor(text_area_background); } - diff --git a/chrome/browser/views/location_bar/selected_keyword_view.cc b/chrome/browser/views/location_bar/selected_keyword_view.cc index aeead05..182015b 100644 --- a/chrome/browser/views/location_bar/selected_keyword_view.cc +++ b/chrome/browser/views/location_bar/selected_keyword_view.cc @@ -5,7 +5,6 @@ #include "chrome/browser/views/location_bar/selected_keyword_view.h" #include "app/l10n_util.h" -#include "base/i18n/rtl.h" #include "base/logging.h" #include "chrome/browser/search_engines/template_url_model.h" #include "chrome/browser/location_bar_util.h" diff --git a/chrome/browser/views/options/cookies_view.cc b/chrome/browser/views/options/cookies_view.cc index ef730dd..4748c91 100644 --- a/chrome/browser/views/options/cookies_view.cc +++ b/chrome/browser/views/options/cookies_view.cc @@ -7,7 +7,6 @@ #include <algorithm> #include "app/l10n_util.h" -#include "base/i18n/time_formatting.h" #include "base/message_loop.h" #include "base/string_util.h" #include "chrome/browser/profile.h" diff --git a/chrome/common/sqlite_utils.cc b/chrome/common/sqlite_utils.cc index ed383be..d11b925 100644 --- a/chrome/common/sqlite_utils.cc +++ b/chrome/common/sqlite_utils.cc @@ -6,7 +6,6 @@ #include <list> -#include "base/at_exit.h" #include "base/file_path.h" #include "base/lock.h" #include "base/logging.h" diff --git a/chrome/common/time_format.cc b/chrome/common/time_format.cc index 4ca5187..2d5b9902 100644 --- a/chrome/common/time_format.cc +++ b/chrome/common/time_format.cc @@ -7,7 +7,6 @@ #include <vector> #include "app/l10n_util.h" -#include "base/i18n/time_formatting.h" #include "base/logging.h" #include "base/scoped_ptr.h" #include "base/singleton.h" diff --git a/chrome_frame/test/run_all_unittests.cc b/chrome_frame/test/run_all_unittests.cc index 427fd84..fdf559d8 100644 --- a/chrome_frame/test/run_all_unittests.cc +++ b/chrome_frame/test/run_all_unittests.cc @@ -5,7 +5,6 @@ #include <atlbase.h> #include <iostream> -#include "base/at_exit.h" #include "base/path_service.h" #include "base/platform_thread.h" #include "base/process_util.h" diff --git a/ipc/ipc_tests.cc b/ipc/ipc_tests.cc index c82eef9..6118e58 100644 --- a/ipc/ipc_tests.cc +++ b/ipc/ipc_tests.cc @@ -17,7 +17,6 @@ #include "ipc/ipc_tests.h" -#include "base/at_exit.h" #include "base/base_switches.h" #include "base/command_line.h" #include "base/debug_on_start.h" diff --git a/media/audio/fake_audio_input_stream.cc b/media/audio/fake_audio_input_stream.cc index 9748d8e..d631fb8 100644 --- a/media/audio/fake_audio_input_stream.cc +++ b/media/audio/fake_audio_input_stream.cc @@ -4,8 +4,6 @@ #include "media/audio/fake_audio_input_stream.h" -#include "base/at_exit.h" - using base::Time; using base::TimeDelta; diff --git a/net/http/http_auth_handler_ntlm.cc b/net/http/http_auth_handler_ntlm.cc index 9032bb5..83a8c9a 100644 --- a/net/http/http_auth_handler_ntlm.cc +++ b/net/http/http_auth_handler_ntlm.cc @@ -4,7 +4,9 @@ #include "net/http/http_auth_handler_ntlm.h" +#if !defined(NTLM_SSPI) #include "base/base64.h" +#endif #include "base/logging.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h index 9fe10b6..4729b96 100644 --- a/remoting/client/plugin/chromoting_instance.h +++ b/remoting/client/plugin/chromoting_instance.h @@ -10,7 +10,6 @@ #include <string> -#include "base/at_exit.h" #include "base/scoped_ptr.h" #include "remoting/client/client_context.h" #include "remoting/client/host_connection.h" diff --git a/remoting/host/host_key_pair_unittest.cc b/remoting/host/host_key_pair_unittest.cc index c5d525e..6aa6d70 100644 --- a/remoting/host/host_key_pair_unittest.cc +++ b/remoting/host/host_key_pair_unittest.cc @@ -4,7 +4,6 @@ #include <string> -#include "base/base64.h" #include "base/message_loop.h" #include "base/message_loop_proxy.h" #include "base/ref_counted.h" diff --git a/views/view_text_utils.cc b/views/view_text_utils.cc index ea1bba7..c42472a 100644 --- a/views/view_text_utils.cc +++ b/views/view_text_utils.cc @@ -5,7 +5,6 @@ #include "views/view_text_utils.h" #include "app/bidi_line_iterator.h" -#include "base/i18n/rtl.h" #include "base/i18n/word_iterator.h" #include "base/logging.h" #include "base/utf_string_conversions.h" diff --git a/webkit/glue/plugins/test/plugin_thread_async_call_test.cc b/webkit/glue/plugins/test/plugin_thread_async_call_test.cc index 2e9f9e9..c01a49e 100644 --- a/webkit/glue/plugins/test/plugin_thread_async_call_test.cc +++ b/webkit/glue/plugins/test/plugin_thread_async_call_test.cc @@ -4,6 +4,7 @@ #include "webkit/glue/plugins/test/plugin_thread_async_call_test.h" +#include "base/at_exit.h" #include "base/message_loop.h" #include "base/thread.h" #include "webkit/glue/plugins/test/plugin_client.h" diff --git a/webkit/glue/plugins/test/plugin_thread_async_call_test.h b/webkit/glue/plugins/test/plugin_thread_async_call_test.h index 020e5e1..94d17c4 100644 --- a/webkit/glue/plugins/test/plugin_thread_async_call_test.h +++ b/webkit/glue/plugins/test/plugin_thread_async_call_test.h @@ -1,16 +1,19 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H -#define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H +#ifndef WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H_ +#define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H_ #include <vector> -#include "base/at_exit.h" #include "base/scoped_ptr.h" #include "webkit/glue/plugins/test/plugin_test.h" +namespace base { +class AtExitManager; +} + namespace NPAPIClient { // This class tests scheduling and unscheduling of async callbacks using @@ -35,4 +38,4 @@ class PluginThreadAsyncCallTest : public PluginTest { } // namespace NPAPIClient -#endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H +#endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H_ |