diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 17:14:28 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 17:14:28 +0000 |
commit | 5e7cd55b861b927171e27341005ab74e3bec21eb (patch) | |
tree | bbdbd632fd8739ee30cabe496e6a920d22b51ec8 | |
parent | 6220de3d6db97111f6c9d43427552c8ba82ebb0a (diff) | |
download | chromium_src-5e7cd55b861b927171e27341005ab74e3bec21eb.zip chromium_src-5e7cd55b861b927171e27341005ab74e3bec21eb.tar.gz chromium_src-5e7cd55b861b927171e27341005ab74e3bec21eb.tar.bz2 |
FBTB: Remove unneeded #includes of base/ref_counted.h and base/string16.h in src/chrome.
BUG=23581
TEST=builds
Review URL: http://codereview.chromium.org/3181028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56874 0039d316-1c4b-4281-b951-d872f2087c98
26 files changed, 7 insertions, 30 deletions
diff --git a/chrome/browser/bookmarks/bookmark_editor.h b/chrome/browser/bookmarks/bookmark_editor.h index 63e3b62..43e2816 100644 --- a/chrome/browser/bookmarks/bookmark_editor.h +++ b/chrome/browser/bookmarks/bookmark_editor.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ #pragma once -#include <string> #include <utility> #include <vector> diff --git a/chrome/browser/chromeos/login/google_authenticator.h b/chrome/browser/chromeos/login/google_authenticator.h index bc43485..be3662f 100644 --- a/chrome/browser/chromeos/login/google_authenticator.h +++ b/chrome/browser/chromeos/login/google_authenticator.h @@ -11,7 +11,7 @@ #include "base/basictypes.h" #include "base/gtest_prod_util.h" -#include "base/ref_counted.h" +#include "base/scoped_ptr.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/chromeos/login/new_user_view.h b/chrome/browser/chromeos/login/new_user_view.h index 0ef73ed..2f793ba 100644 --- a/chrome/browser/chromeos/login/new_user_view.h +++ b/chrome/browser/chromeos/login/new_user_view.h @@ -9,7 +9,6 @@ #include <string> #include "base/gtest_prod_util.h" -#include "base/ref_counted.h" #include "chrome/browser/chromeos/login/language_switch_menu.h" #include "views/accelerator.h" #include "views/controls/button/button.h" diff --git a/chrome/browser/chromeos/login/update_screen.h b/chrome/browser/chromeos/login/update_screen.h index c6fb76b..deefbaf 100644 --- a/chrome/browser/chromeos/login/update_screen.h +++ b/chrome/browser/chromeos/login/update_screen.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_H_ #pragma once -#include "base/ref_counted.h" #include "base/timer.h" #include "chrome/browser/chromeos/cros/update_library.h" #include "chrome/browser/chromeos/login/update_view.h" diff --git a/chrome/browser/chromeos/login/user_image_downloader.h b/chrome/browser/chromeos/login/user_image_downloader.h index 3658983..5eba206 100644 --- a/chrome/browser/chromeos/login/user_image_downloader.h +++ b/chrome/browser/chromeos/login/user_image_downloader.h @@ -9,7 +9,6 @@ #include <string> #include "base/basictypes.h" -#include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "chrome/browser/chromeos/login/image_decoder.h" #include "chrome/common/net/url_fetcher.h" diff --git a/chrome/browser/cocoa/import_settings_dialog.h b/chrome/browser/cocoa/import_settings_dialog.h index 0cac63f..d31433c 100644 --- a/chrome/browser/cocoa/import_settings_dialog.h +++ b/chrome/browser/cocoa/import_settings_dialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 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. @@ -8,7 +8,6 @@ #import <Cocoa/Cocoa.h> -#include "base/ref_counted.h" #include "base/scoped_nsobject.h" #include "chrome/browser/importer/importer.h" diff --git a/chrome/browser/cocoa/tabpose_window.h b/chrome/browser/cocoa/tabpose_window.h index 6e5893e..72acced 100644 --- a/chrome/browser/cocoa/tabpose_window.h +++ b/chrome/browser/cocoa/tabpose_window.h @@ -10,7 +10,6 @@ #include "base/scoped_cftyperef.h" -#include "base/ref_counted.h" #include "base/scoped_nsobject.h" #include "base/scoped_ptr.h" #include "base/scoped_vector.h" diff --git a/chrome/browser/debugger/devtools_remote_listen_socket_unittest.h b/chrome/browser/debugger/devtools_remote_listen_socket_unittest.h index eef5cd6..56835eb 100644 --- a/chrome/browser/debugger/devtools_remote_listen_socket_unittest.h +++ b/chrome/browser/debugger/devtools_remote_listen_socket_unittest.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 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. @@ -23,7 +23,6 @@ #include "base/thread.h" #include "base/basictypes.h" #include "base/message_loop.h" -#include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "base/string_util.h" #include "base/thread.h" diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h index c97878a..238da54 100644 --- a/chrome/browser/extensions/extension_install_ui.h +++ b/chrome/browser/extensions/extension_install_ui.h @@ -9,7 +9,6 @@ #include <string> #include <vector> -#include "base/ref_counted.h" #include "base/string16.h" #include "chrome/browser/extensions/image_loading_tracker.h" #include "gfx/native_widget_types.h" diff --git a/chrome/browser/file_system_proxy.h b/chrome/browser/file_system_proxy.h index 74cd215..6001bfd 100644 --- a/chrome/browser/file_system_proxy.h +++ b/chrome/browser/file_system_proxy.h @@ -7,7 +7,6 @@ #include "base/callback.h" #include "base/platform_file.h" -#include "base/ref_counted.h" // This class provides asynchronous access to common file routines. class FileSystemProxy { diff --git a/chrome/browser/in_process_webkit/webkit_thread.h b/chrome/browser/in_process_webkit/webkit_thread.h index 2d90bbe..f09b79b 100644 --- a/chrome/browser/in_process_webkit/webkit_thread.h +++ b/chrome/browser/in_process_webkit/webkit_thread.h @@ -8,7 +8,6 @@ #include "base/lock.h" #include "base/logging.h" -#include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "base/thread.h" #include "chrome/browser/chrome_thread.h" diff --git a/chrome/browser/plugin_service.h b/chrome/browser/plugin_service.h index 6c9137a..3f25c25 100644 --- a/chrome/browser/plugin_service.h +++ b/chrome/browser/plugin_service.h @@ -14,7 +14,6 @@ #include "base/basictypes.h" #include "base/file_path.h" #include "base/hash_tables.h" -#include "base/ref_counted.h" #include "base/singleton.h" #include "base/waitable_event_watcher.h" #include "chrome/common/notification_observer.h" diff --git a/chrome/browser/sidebar/sidebar_manager.h b/chrome/browser/sidebar/sidebar_manager.h index 4f3231e..a7fe8b1 100644 --- a/chrome/browser/sidebar/sidebar_manager.h +++ b/chrome/browser/sidebar/sidebar_manager.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_SIDEBAR_SIDEBAR_MANAGER_H_ #include <map> -#include <set> #include <string> #include "base/ref_counted.h" diff --git a/chrome/browser/speech/speech_input_manager.h b/chrome/browser/speech/speech_input_manager.h index 5c5dc8b..4ffe32f 100644 --- a/chrome/browser/speech/speech_input_manager.h +++ b/chrome/browser/speech/speech_input_manager.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_SPEECH_SPEECH_INPUT_MANAGER_H_ #include "base/basictypes.h" -#include "base/ref_counted.h" #include "chrome/browser/speech/speech_recognizer.h" #include "ipc/ipc_message.h" diff --git a/chrome/browser/sync/glue/database_model_worker.h b/chrome/browser/sync/glue/database_model_worker.h index 08e77b0..a10e2de 100644 --- a/chrome/browser/sync/glue/database_model_worker.h +++ b/chrome/browser/sync/glue/database_model_worker.h @@ -7,7 +7,6 @@ #pragma once #include "base/callback.h" -#include "base/ref_counted.h" #include "chrome/browser/sync/engine/model_safe_worker.h" namespace base { diff --git a/chrome/browser/sync/util/extensions_activity_monitor.h b/chrome/browser/sync/util/extensions_activity_monitor.h index 742c887..48ba090 100644 --- a/chrome/browser/sync/util/extensions_activity_monitor.h +++ b/chrome/browser/sync/util/extensions_activity_monitor.h @@ -1,4 +1,4 @@ -// Copyright (c) 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. @@ -10,7 +10,6 @@ #include "base/lock.h" #include "base/message_loop.h" -#include "base/ref_counted.h" #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" diff --git a/chrome/browser/wrench_menu_model.h b/chrome/browser/wrench_menu_model.h index 5b92362..3bf6c24 100644 --- a/chrome/browser/wrench_menu_model.h +++ b/chrome/browser/wrench_menu_model.h @@ -8,7 +8,6 @@ #include "app/menus/button_menu_item_model.h" #include "app/menus/simple_menu_model.h" -#include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "chrome/browser/tabs/tab_strip_model.h" #include "chrome/common/notification_observer.h" diff --git a/chrome/common/extensions/extension_action.h b/chrome/common/extensions/extension_action.h index 3316514..a50ebf3 100644 --- a/chrome/common/extensions/extension_action.h +++ b/chrome/common/extensions/extension_action.h @@ -11,7 +11,6 @@ #include <vector> #include "base/basictypes.h" -#include "base/scoped_ptr.h" #include "third_party/skia/include/core/SkColor.h" namespace gfx { diff --git a/chrome/common/extensions/update_manifest.cc b/chrome/common/extensions/update_manifest.cc index 57d394c..0e2d271 100644 --- a/chrome/common/extensions/update_manifest.cc +++ b/chrome/common/extensions/update_manifest.cc @@ -6,6 +6,7 @@ #include <algorithm> +#include "base/scoped_ptr.h" #include "base/stl_util-inl.h" #include "base/string_util.h" #include "base/string_number_conversions.h" diff --git a/chrome/common/extensions/update_manifest.h b/chrome/common/extensions/update_manifest.h index 1ef0838..9e8eb52 100644 --- a/chrome/common/extensions/update_manifest.h +++ b/chrome/common/extensions/update_manifest.h @@ -1,4 +1,4 @@ -// Copyright (c) 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. @@ -10,7 +10,6 @@ #include <vector> #include "base/logging.h" -#include "base/scoped_ptr.h" #include "googleurl/src/gurl.h" class UpdateManifest { diff --git a/chrome/common/font_loader_mac.h b/chrome/common/font_loader_mac.h index a793e5e..d25ec43 100644 --- a/chrome/common/font_loader_mac.h +++ b/chrome/common/font_loader_mac.h @@ -9,7 +9,6 @@ #include <ApplicationServices/ApplicationServices.h> #include "base/shared_memory.h" -#include "base/string16.h" #ifdef __OBJC__ @class NSFont; diff --git a/chrome/gpu/gpu_video_service.h b/chrome/gpu/gpu_video_service.h index 3172031..985d8e8 100644 --- a/chrome/gpu/gpu_video_service.h +++ b/chrome/gpu/gpu_video_service.h @@ -7,7 +7,6 @@ #include <map> -#include "base/scoped_ptr.h" #include "base/ref_counted.h" #include "base/singleton.h" #include "chrome/gpu/gpu_video_decoder.h" diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h index f00abd6..19679cf3 100644 --- a/chrome/renderer/render_thread.h +++ b/chrome/renderer/render_thread.h @@ -10,7 +10,6 @@ #include <vector> #include "base/shared_memory.h" -#include "base/string16.h" #include "base/time.h" #include "base/timer.h" #include "build/build_config.h" diff --git a/chrome/renderer/renderer_histogram_snapshots.h b/chrome/renderer/renderer_histogram_snapshots.h index 98c8680..d7e3f84 100644 --- a/chrome/renderer/renderer_histogram_snapshots.h +++ b/chrome/renderer/renderer_histogram_snapshots.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 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. @@ -13,7 +13,6 @@ #include "base/basictypes.h" #include "base/histogram.h" #include "base/process.h" -#include "base/scoped_ptr.h" #include "base/task.h" class RendererHistogramSnapshots { diff --git a/chrome/renderer/renderer_webstoragearea_impl.h b/chrome/renderer/renderer_webstoragearea_impl.h index 532933b..0f29b83 100644 --- a/chrome/renderer/renderer_webstoragearea_impl.h +++ b/chrome/renderer/renderer_webstoragearea_impl.h @@ -7,7 +7,6 @@ #pragma once #include "base/basictypes.h" -#include "base/string16.h" #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h" #include "third_party/WebKit/WebKit/chromium/public/WebString.h" diff --git a/chrome/test/automation/javascript_message_utils.h b/chrome/test/automation/javascript_message_utils.h index 1f48337..8ac2f36 100644 --- a/chrome/test/automation/javascript_message_utils.h +++ b/chrome/test/automation/javascript_message_utils.h @@ -10,7 +10,6 @@ #include <vector> #include "base/json/json_writer.h" -#include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "base/string_util.h" #include "base/values.h" |