diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 17:56:33 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 17:56:33 +0000 |
commit | 1f5efc69c8a5513cb8b5dd2acb0fdba591ff6fc1 (patch) | |
tree | b0fdf7d030ffd16c4e5c350a88624bae07db8c25 | |
parent | 0d60c7643b6fb555e1c0f60615853a37d6fa1fa8 (diff) | |
download | chromium_src-1f5efc69c8a5513cb8b5dd2acb0fdba591ff6fc1.zip chromium_src-1f5efc69c8a5513cb8b5dd2acb0fdba591ff6fc1.tar.gz chromium_src-1f5efc69c8a5513cb8b5dd2acb0fdba591ff6fc1.tar.bz2 |
Clean up unnecessary #includes of base/{scoped_ptr.h,string16.h}.
Also fix a bunch of #includes. Folks, scoped_refptr<> is defined in
base/ref_counted.h, not in base/scoped_ptr.h.
BUG=none
TEST=builds
Review URL: http://codereview.chromium.org/3132024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56712 0039d316-1c4b-4281-b951-d872f2087c98
73 files changed, 38 insertions, 84 deletions
diff --git a/chrome/browser/autofill/autofill_download.h b/chrome/browser/autofill/autofill_download.h index 516e35e..c2f0ba0 100644 --- a/chrome/browser/autofill/autofill_download.h +++ b/chrome/browser/autofill/autofill_download.h @@ -10,9 +10,7 @@ #include <vector> #include <string> -#include "base/scoped_ptr.h" #include "base/scoped_vector.h" -#include "base/string16.h" #include "base/time.h" #include "chrome/browser/autofill/autofill_profile.h" #include "chrome/browser/autofill/field_types.h" diff --git a/chrome/browser/automation/chrome_frame_automation_provider.h b/chrome/browser/automation/chrome_frame_automation_provider.h index f7eeede..fad6bd8 100644 --- a/chrome/browser/automation/chrome_frame_automation_provider.h +++ b/chrome/browser/automation/chrome_frame_automation_provider.h @@ -1,4 +1,4 @@ -// 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. @@ -13,7 +13,6 @@ #pragma once #include "base/basictypes.h" -#include "base/scoped_ptr.h" #include "chrome/browser/automation/automation_provider.h" class Profile; diff --git a/chrome/browser/bookmarks/bookmark_codec.h b/chrome/browser/bookmarks/bookmark_codec.h index 3f1dd82..94c9213 100644 --- a/chrome/browser/bookmarks/bookmark_codec.h +++ b/chrome/browser/bookmarks/bookmark_codec.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. @@ -14,7 +14,6 @@ #include <string> #include "base/basictypes.h" -#include "base/scoped_ptr.h" #include "base/md5.h" #include "base/string16.h" diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h index 53973f0..9260ce9 100644 --- a/chrome/browser/browsing_data_remover.h +++ b/chrome/browser/browsing_data_remover.h @@ -7,7 +7,7 @@ #pragma once #include "base/observer_list.h" -#include "base/scoped_ptr.h" +#include "base/ref_counted.h" #include "base/time.h" #include "chrome/browser/appcache/chrome_appcache_service.h" #include "chrome/browser/cancelable_request.h" diff --git a/chrome/browser/bug_report_util.h b/chrome/browser/bug_report_util.h index 7b51a74..e11a22c 100644 --- a/chrome/browser/bug_report_util.h +++ b/chrome/browser/bug_report_util.h @@ -13,7 +13,6 @@ #include "base/mac_util.h" #include "base/sys_info.h" #endif -#include "base/scoped_ptr.h" #include "chrome/browser/userfeedback/proto/common.pb.h" #include "chrome/browser/userfeedback/proto/extension.pb.h" #include "chrome/browser/userfeedback/proto/math.pb.h" diff --git a/chrome/browser/chromeos/cros/cros_mock.h b/chrome/browser/chromeos/cros/cros_mock.h index 329d10c..279de70 100644 --- a/chrome/browser/chromeos/cros/cros_mock.h +++ b/chrome/browser/chromeos/cros/cros_mock.h @@ -5,7 +5,6 @@ #ifndef CHROME_BROWSER_CHROMEOS_CROS_CROS_MOCK_H_ #define CHROME_BROWSER_CHROMEOS_CROS_CROS_MOCK_H_ -#include "base/scoped_ptr.h" #include "chrome/browser/chromeos/cros/cros_library.h" #include "chrome/test/in_process_browser_test.h" #include "cros/chromeos_input_method.h" diff --git a/chrome/browser/chromeos/cros/network_library.h b/chrome/browser/chromeos/cros/network_library.h index aa62d80..6a61a5d 100644 --- a/chrome/browser/chromeos/cros/network_library.h +++ b/chrome/browser/chromeos/cros/network_library.h @@ -12,7 +12,6 @@ #include "base/observer_list.h" #include "base/platform_thread.h" #include "base/singleton.h" -#include "base/string16.h" #include "base/timer.h" #include "cros/chromeos_network.h" diff --git a/chrome/browser/chromeos/cros/system_library.h b/chrome/browser/chromeos/cros/system_library.h index 19efbd7..9cf6640 100644 --- a/chrome/browser/chromeos/cros/system_library.h +++ b/chrome/browser/chromeos/cros/system_library.h @@ -7,7 +7,6 @@ #pragma once #include "base/observer_list.h" -#include "base/scoped_ptr.h" #include "base/singleton.h" #include "cros/chromeos_system.h" #include "unicode/timezone.h" diff --git a/chrome/browser/chromeos/customization_document.h b/chrome/browser/chromeos/customization_document.h index 55182a4..ffdd74f 100644 --- a/chrome/browser/chromeos/customization_document.h +++ b/chrome/browser/chromeos/customization_document.h @@ -12,7 +12,6 @@ #include "base/basictypes.h" #include "base/file_path.h" -#include "base/scoped_ptr.h" #include "third_party/skia/include/core/SkColor.h" class DictionaryValue; diff --git a/chrome/browser/chromeos/login/new_user_view.h b/chrome/browser/chromeos/login/new_user_view.h index 36ede7ef..0ef73ed 100644 --- a/chrome/browser/chromeos/login/new_user_view.h +++ b/chrome/browser/chromeos/login/new_user_view.h @@ -10,7 +10,6 @@ #include "base/gtest_prod_util.h" #include "base/ref_counted.h" -#include "base/scoped_ptr.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/web_page_screen.h b/chrome/browser/chromeos/login/web_page_screen.h index 37539bd..5230c14 100644 --- a/chrome/browser/chromeos/login/web_page_screen.h +++ b/chrome/browser/chromeos/login/web_page_screen.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_CHROMEOS_LOGIN_WEB_PAGE_SCREEN_H_ #pragma once -#include "base/scoped_ptr.h" #include "base/timer.h" #include "chrome/browser/chromeos/login/screen_observer.h" #include "chrome/browser/tab_contents/tab_contents_delegate.h" diff --git a/chrome/browser/chromeos/network_list.h b/chrome/browser/chromeos/network_list.h index 0d4cb73..5b320fc 100644 --- a/chrome/browser/chromeos/network_list.h +++ b/chrome/browser/chromeos/network_list.h @@ -9,6 +9,7 @@ #include <string> #include <vector> +#include "base/string16.h" #include "chrome/browser/chromeos/cros/network_library.h" namespace chromeos { diff --git a/chrome/browser/chromeos/options/language_mozc_config_view.h b/chrome/browser/chromeos/options/language_mozc_config_view.h index d2c013a..2a798fe 100644 --- a/chrome/browser/chromeos/options/language_mozc_config_view.h +++ b/chrome/browser/chromeos/options/language_mozc_config_view.h @@ -8,7 +8,6 @@ #include <string> -#include "base/scoped_ptr.h" #include "chrome/browser/chromeos/cros/input_method_library.h" #include "chrome/browser/chromeos/language_preferences.h" #include "chrome/browser/pref_member.h" diff --git a/chrome/browser/chromeos/options/network_config_view.h b/chrome/browser/chromeos/options/network_config_view.h index 195c9a1..2fda171b 100644 --- a/chrome/browser/chromeos/options/network_config_view.h +++ b/chrome/browser/chromeos/options/network_config_view.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. @@ -8,7 +8,6 @@ #include <string> -#include "base/string16.h" #include "chrome/browser/chromeos/cros/network_library.h" #include "views/controls/tabbed_pane/tabbed_pane.h" #include "views/window/dialog_delegate.h" diff --git a/chrome/browser/cocoa/applescript/bookmark_applescript_utils_unittest.h b/chrome/browser/cocoa/applescript/bookmark_applescript_utils_unittest.h index d35d1e9..bb77726 100644 --- a/chrome/browser/cocoa/applescript/bookmark_applescript_utils_unittest.h +++ b/chrome/browser/cocoa/applescript/bookmark_applescript_utils_unittest.h @@ -9,7 +9,6 @@ #import <Cocoa/Cocoa.h> #include "base/scoped_nsobject.h" -#include "base/scoped_ptr.h" #import "chrome/browser/app_controller_mac.h" #import "chrome/browser/cocoa/applescript/bookmark_folder_applescript.h" #include "chrome/browser/cocoa/browser_test_helper.h" diff --git a/chrome/browser/cocoa/base_bubble_controller.h b/chrome/browser/cocoa/base_bubble_controller.h index 795f1a1..51cfa58 100644 --- a/chrome/browser/cocoa/base_bubble_controller.h +++ b/chrome/browser/cocoa/base_bubble_controller.h @@ -5,8 +5,6 @@ #import <Cocoa/Cocoa.h> #import "base/cocoa_protocols_mac.h" -#include "base/scoped_nsobject.h" -#include "base/scoped_ptr.h" @class InfoBubbleView; diff --git a/chrome/browser/cocoa/cocoa_test_helper.h b/chrome/browser/cocoa/cocoa_test_helper.h index 7702fd3..da244e4 100644 --- a/chrome/browser/cocoa/cocoa_test_helper.h +++ b/chrome/browser/cocoa/cocoa_test_helper.h @@ -14,7 +14,6 @@ #include "base/path_service.h" #import "base/scoped_nsautorelease_pool.h" #import "base/scoped_nsobject.h" -#include "base/scoped_ptr.h" #include "chrome/common/chrome_constants.h" #include "testing/platform_test.h" diff --git a/chrome/browser/cocoa/cookie_details_view_controller.h b/chrome/browser/cocoa/cookie_details_view_controller.h index c9f9635..cad42f4 100644 --- a/chrome/browser/cocoa/cookie_details_view_controller.h +++ b/chrome/browser/cocoa/cookie_details_view_controller.h @@ -5,8 +5,6 @@ #import <Cocoa/Cocoa.h> #include "base/cocoa_protocols_mac.h" -#include "base/scoped_nsobject.h" -#include "base/scoped_ptr.h" #include "net/base/cookie_monster.h" @class CocoaCookieTreeNode; diff --git a/chrome/browser/cocoa/cookie_prompt_window_controller.h b/chrome/browser/cocoa/cookie_prompt_window_controller.h index 6ae68b4..0969a9b 100644 --- a/chrome/browser/cocoa/cookie_prompt_window_controller.h +++ b/chrome/browser/cocoa/cookie_prompt_window_controller.h @@ -6,7 +6,6 @@ #include "base/cocoa_protocols_mac.h" #include "base/scoped_nsobject.h" -#include "base/scoped_ptr.h" class CookiePromptModalDialog; class CookieTreeNode; diff --git a/chrome/browser/cocoa/download_shelf_mac.h b/chrome/browser/cocoa/download_shelf_mac.h index 4c158e4..462b38f 100644 --- a/chrome/browser/cocoa/download_shelf_mac.h +++ b/chrome/browser/cocoa/download_shelf_mac.h @@ -8,7 +8,6 @@ #import <Cocoa/Cocoa.h> -#include "base/scoped_ptr.h" #include "chrome/browser/download/download_shelf.h" class BaseDownloadItemModel; diff --git a/chrome/browser/cocoa/history_menu_bridge.h b/chrome/browser/cocoa/history_menu_bridge.h index 9757a35..55dab4d 100644 --- a/chrome/browser/cocoa/history_menu_bridge.h +++ b/chrome/browser/cocoa/history_menu_bridge.h @@ -9,8 +9,8 @@ #import <Cocoa/Cocoa.h> #include <map> +#include "base/ref_counted.h" #include "base/scoped_nsobject.h" -#include "base/scoped_ptr.h" #include "chrome/browser/cancelable_request.h" #import "chrome/browser/favicon_service.h" #include "chrome/browser/history/history.h" diff --git a/chrome/browser/cocoa/menu_controller.h b/chrome/browser/cocoa/menu_controller.h index 7a8daeb..c47af7f 100644 --- a/chrome/browser/cocoa/menu_controller.h +++ b/chrome/browser/cocoa/menu_controller.h @@ -9,7 +9,6 @@ #import <Cocoa/Cocoa.h> #include "base/scoped_nsobject.h" -#include "base/scoped_ptr.h" namespace menus { class MenuModel; diff --git a/chrome/browser/cocoa/web_contents_drag_source.h b/chrome/browser/cocoa/web_contents_drag_source.h index 6fde76a..168ce31 100644 --- a/chrome/browser/cocoa/web_contents_drag_source.h +++ b/chrome/browser/cocoa/web_contents_drag_source.h @@ -9,7 +9,6 @@ #import <Cocoa/Cocoa.h> #include "base/scoped_nsobject.h" -#include "base/scoped_ptr.h" #include "chrome/browser/bookmarks/bookmark_drag_data.h" @class TabContentsViewCocoa; diff --git a/chrome/browser/cookies_tree_model.h b/chrome/browser/cookies_tree_model.h index faae9b5..10d72db 100644 --- a/chrome/browser/cookies_tree_model.h +++ b/chrome/browser/cookies_tree_model.h @@ -11,7 +11,7 @@ #include "app/tree_node_model.h" #include "base/observer_list.h" -#include "base/scoped_ptr.h" +#include "base/ref_counted.h" #include "chrome/browser/browsing_data_appcache_helper.h" #include "chrome/browser/browsing_data_database_helper.h" #include "chrome/browser/browsing_data_local_storage_helper.h" diff --git a/chrome/browser/debugger/devtools_http_protocol_handler.h b/chrome/browser/debugger/devtools_http_protocol_handler.h index 605be30..332fbaa 100644 --- a/chrome/browser/debugger/devtools_http_protocol_handler.h +++ b/chrome/browser/debugger/devtools_http_protocol_handler.h @@ -10,7 +10,6 @@ #include <string> #include "base/ref_counted.h" -#include "base/scoped_ptr.h" #include "net/server/http_listen_socket.h" #include "net/url_request/url_request.h" diff --git a/chrome/browser/debugger/devtools_window.h b/chrome/browser/debugger/devtools_window.h index e5a868e..dec940c 100644 --- a/chrome/browser/debugger/devtools_window.h +++ b/chrome/browser/debugger/devtools_window.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. @@ -9,7 +9,6 @@ #include <string> #include "base/basictypes.h" -#include "base/scoped_ptr.h" #include "chrome/browser/debugger/devtools_client_host.h" #include "chrome/browser/debugger/devtools_toggle_action.h" #include "chrome/browser/tab_contents/tab_contents_delegate.h" diff --git a/chrome/browser/diagnostics/recon_diagnostics.h b/chrome/browser/diagnostics/recon_diagnostics.h index 1652906..d7c52e9 100644 --- a/chrome/browser/diagnostics/recon_diagnostics.h +++ b/chrome/browser/diagnostics/recon_diagnostics.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. @@ -6,7 +6,6 @@ #define CHROME_BROWSER_DIAGNOSTICS_RECON_DIAGNOSTICS_H_ #pragma once -#include "base/string16.h" #include "chrome/browser/diagnostics/diagnostics_test.h" DiagnosticTest* MakeOperatingSystemTest(); diff --git a/chrome/browser/dom_ui/dom_ui_favicon_source.h b/chrome/browser/dom_ui/dom_ui_favicon_source.h index 08cbddb..7878fd2 100644 --- a/chrome/browser/dom_ui/dom_ui_favicon_source.h +++ b/chrome/browser/dom_ui/dom_ui_favicon_source.h @@ -9,7 +9,7 @@ #include <string> #include "base/basictypes.h" -#include "base/scoped_ptr.h" +#include "base/ref_counted.h" #include "chrome/browser/dom_ui/chrome_url_data_manager.h" #include "chrome/browser/favicon_service.h" diff --git a/chrome/browser/dom_ui/dom_ui_thumbnail_source.h b/chrome/browser/dom_ui/dom_ui_thumbnail_source.h index ce007f5..3c0578b 100644 --- a/chrome/browser/dom_ui/dom_ui_thumbnail_source.h +++ b/chrome/browser/dom_ui/dom_ui_thumbnail_source.h @@ -9,7 +9,7 @@ #include <string> #include "base/basictypes.h" -#include "base/scoped_ptr.h" +#include "base/ref_counted.h" #include "chrome/browser/dom_ui/chrome_url_data_manager.h" #include "chrome/browser/history/history.h" #include "chrome/common/notification_registrar.h" diff --git a/chrome/browser/dom_ui/filebrowse_ui.h b/chrome/browser/dom_ui/filebrowse_ui.h index 25fd8e8..8b60a52 100644 --- a/chrome/browser/dom_ui/filebrowse_ui.h +++ b/chrome/browser/dom_ui/filebrowse_ui.h @@ -8,13 +8,11 @@ #include <string> -#include "base/scoped_ptr.h" #include "chrome/browser/dom_ui/chrome_url_data_manager.h" #include "chrome/browser/dom_ui/html_dialog_ui.h" #include "chrome/browser/history/history.h" #include "net/base/directory_lister.h" - class Browser; class Profile; diff --git a/chrome/browser/dom_ui/mediaplayer_ui.h b/chrome/browser/dom_ui/mediaplayer_ui.h index 33d47a3..a076160 100644 --- a/chrome/browser/dom_ui/mediaplayer_ui.h +++ b/chrome/browser/dom_ui/mediaplayer_ui.h @@ -8,7 +8,6 @@ #include <vector> -#include "base/scoped_ptr.h" #include "base/singleton.h" #include "chrome/browser/dom_ui/chrome_url_data_manager.h" #include "chrome/browser/dom_ui/dom_ui.h" diff --git a/chrome/browser/dom_ui/slideshow_ui.h b/chrome/browser/dom_ui/slideshow_ui.h index 18c3966..51fbeb0 100644 --- a/chrome/browser/dom_ui/slideshow_ui.h +++ b/chrome/browser/dom_ui/slideshow_ui.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_DOM_UI_SLIDESHOW_UI_H_ #pragma once -#include "base/scoped_ptr.h" #include "chrome/browser/dom_ui/dom_ui.h" class SlideshowUI : public DOMUI { diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h index e2d626a..8aafa96 100644 --- a/chrome/browser/extensions/extension_install_ui.h +++ b/chrome/browser/extensions/extension_install_ui.h @@ -10,7 +10,6 @@ #include <vector> #include "base/ref_counted.h" -#include "base/scoped_ptr.h" #include "base/string16.h" #include "chrome/browser/extensions/image_loading_tracker.h" #include "gfx/native_widget_types.h" diff --git a/chrome/browser/extensions/extensions_ui.h b/chrome/browser/extensions/extensions_ui.h index 391cdc0..6509a6d 100644 --- a/chrome/browser/extensions/extensions_ui.h +++ b/chrome/browser/extensions/extensions_ui.h @@ -9,6 +9,7 @@ #include <string> #include <vector> +#include "base/scoped_ptr.h" #include "chrome/browser/dom_ui/chrome_url_data_manager.h" #include "chrome/browser/dom_ui/dom_ui.h" #include "chrome/browser/extensions/extension_install_ui.h" diff --git a/chrome/browser/fav_icon_helper.h b/chrome/browser/fav_icon_helper.h index e07dd5b..8eb7f17 100644 --- a/chrome/browser/fav_icon_helper.h +++ b/chrome/browser/fav_icon_helper.h @@ -10,7 +10,7 @@ #include "base/basictypes.h" #include "base/callback.h" -#include "base/scoped_ptr.h" +#include "base/ref_counted.h" #include "chrome/browser/cancelable_request.h" #include "chrome/browser/favicon_service.h" #include "chrome/browser/renderer_host/render_view_host_delegate.h" diff --git a/chrome/browser/geolocation/device_data_provider.h b/chrome/browser/geolocation/device_data_provider.h index 92649f2..6f7899c 100644 --- a/chrome/browser/geolocation/device_data_provider.h +++ b/chrome/browser/geolocation/device_data_provider.h @@ -31,9 +31,9 @@ #include "base/basictypes.h" #include "base/message_loop.h" #include "base/non_thread_safe.h" +#include "base/ref_counted.h" #include "base/string16.h" #include "base/string_util.h" -#include "base/scoped_ptr.h" #include "base/task.h" // The following data structures are used to store cell radio data and wifi diff --git a/chrome/browser/geolocation/network_location_provider.h b/chrome/browser/geolocation/network_location_provider.h index 2418238..c45d3b4 100644 --- a/chrome/browser/geolocation/network_location_provider.h +++ b/chrome/browser/geolocation/network_location_provider.h @@ -9,6 +9,8 @@ #include <string> #include "base/basictypes.h" +#include "base/ref_counted.h" +#include "base/scoped_ptr.h" #include "base/string16.h" #include "base/thread.h" #include "chrome/browser/geolocation/device_data_provider.h" diff --git a/chrome/browser/geolocation/network_location_request.h b/chrome/browser/geolocation/network_location_request.h index b94d897..97b09ea 100644 --- a/chrome/browser/geolocation/network_location_request.h +++ b/chrome/browser/geolocation/network_location_request.h @@ -9,6 +9,7 @@ #include <string> #include "base/basictypes.h" #include "base/ref_counted.h" +#include "base/scoped_ptr.h" #include "chrome/browser/geolocation/device_data_provider.h" #include "chrome/common/net/url_fetcher.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/geolocation/wifi_data_provider_chromeos.h b/chrome/browser/geolocation/wifi_data_provider_chromeos.h index 5f27e04..6acef54 100644 --- a/chrome/browser/geolocation/wifi_data_provider_chromeos.h +++ b/chrome/browser/geolocation/wifi_data_provider_chromeos.h @@ -8,9 +8,9 @@ #include "chrome/browser/geolocation/wifi_data_provider_common.h" -#include "base/scoped_ptr.h" - -namespace chromeos { class NetworkLibrary; } +namespace chromeos { +class NetworkLibrary; +} class WifiDataProviderChromeOs : public WifiDataProviderCommon { public: diff --git a/chrome/browser/geolocation/wifi_data_provider_common.h b/chrome/browser/geolocation/wifi_data_provider_common.h index dd36c77..5f0ee0a 100644 --- a/chrome/browser/geolocation/wifi_data_provider_common.h +++ b/chrome/browser/geolocation/wifi_data_provider_common.h @@ -9,6 +9,7 @@ #include <assert.h> #include "base/logging.h" +#include "base/scoped_ptr.h" #include "base/string16.h" #include "base/task.h" #include "base/thread.h" diff --git a/chrome/browser/geolocation/win7_location_api_win.h b/chrome/browser/geolocation/win7_location_api_win.h index 0aa199c..96fcd21 100644 --- a/chrome/browser/geolocation/win7_location_api_win.h +++ b/chrome/browser/geolocation/win7_location_api_win.h @@ -11,7 +11,6 @@ #include <sensors.h> #include <Windows.h> -#include "base/scoped_ptr.h" #include "base/time.h" #include "base/win_util.h" diff --git a/chrome/browser/gpu_process_host.h b/chrome/browser/gpu_process_host.h index 8e8b034..cfb2821 100644 --- a/chrome/browser/gpu_process_host.h +++ b/chrome/browser/gpu_process_host.h @@ -9,7 +9,7 @@ #include <queue> #include "base/basictypes.h" -#include "base/scoped_ptr.h" +#include "base/ref_counted.h" #include "chrome/browser/browser_child_process_host.h" #include "chrome/browser/renderer_host/resource_message_filter.h" #include "chrome/common/gpu_info.h" diff --git a/chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h b/chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h index 0e6f92d..d0d39dc 100644 --- a/chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h +++ b/chrome/browser/gtk/create_application_shortcuts_dialog_gtk.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. @@ -9,7 +9,6 @@ #include "app/gtk_signal.h" #include "base/basictypes.h" #include "base/ref_counted.h" -#include "base/string16.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/shell_integration.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/gtk/hover_controller_gtk.h b/chrome/browser/gtk/hover_controller_gtk.h index 05d2ebf..19d1ff4 100644 --- a/chrome/browser/gtk/hover_controller_gtk.h +++ b/chrome/browser/gtk/hover_controller_gtk.h @@ -12,7 +12,6 @@ #include "app/gtk_signal_registrar.h" #include "app/slide_animation.h" #include "app/throb_animation.h" -#include "base/scoped_ptr.h" // This class handles the "throbbing" of a GtkChromeButton. The visual effect // of throbbing is created by painting partially transparent hover effects. It diff --git a/chrome/browser/importer/importer_bridge.h b/chrome/browser/importer/importer_bridge.h index 422385e..3d7d62b 100644 --- a/chrome/browser/importer/importer_bridge.h +++ b/chrome/browser/importer/importer_bridge.h @@ -13,7 +13,6 @@ #include "base/basictypes.h" #include "base/ref_counted.h" #include "base/scoped_ptr.h" -#include "base/string16.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/importer/importer_data_types.h" // TODO: remove this, see friend declaration in ImporterBridge. diff --git a/chrome/browser/net/predictor_api.h b/chrome/browser/net/predictor_api.h index 3c6d97b..dd76872 100644 --- a/chrome/browser/net/predictor_api.h +++ b/chrome/browser/net/predictor_api.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2010 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. @@ -17,7 +17,7 @@ #include <vector> #include "base/field_trial.h" -#include "base/scoped_ptr.h" +#include "base/ref_counted.h" #include "chrome/browser/autocomplete/autocomplete.h" #include "chrome/browser/net/predictor.h" diff --git a/chrome/browser/omnibox_search_hint.h b/chrome/browser/omnibox_search_hint.h index 76cea15..a0dd25a 100644 --- a/chrome/browser/omnibox_search_hint.h +++ b/chrome/browser/omnibox_search_hint.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. @@ -9,7 +9,6 @@ #include <map> #include <string> -#include "base/scoped_ptr.h" #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" diff --git a/chrome/browser/password_manager/password_store.h b/chrome/browser/password_manager/password_store.h index 53c6178..6b6efa8 100644 --- a/chrome/browser/password_manager/password_store.h +++ b/chrome/browser/password_manager/password_store.h @@ -1,4 +1,4 @@ -// 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. @@ -10,7 +10,6 @@ #include <vector> #include "base/ref_counted.h" -#include "base/scoped_ptr.h" #include "base/thread.h" #include "base/time.h" #include "webkit/glue/password_form.h" diff --git a/chrome/browser/password_manager/password_store_win.h b/chrome/browser/password_manager/password_store_win.h index c887cc8..e58f717 100644 --- a/chrome/browser/password_manager/password_store_win.h +++ b/chrome/browser/password_manager/password_store_win.h @@ -9,7 +9,6 @@ #include <map> #include <vector> -#include "base/scoped_ptr.h" #include "chrome/browser/password_manager/password_store.h" #include "chrome/browser/password_manager/password_store_default.h" #include "chrome/browser/webdata/web_data_service.h" diff --git a/chrome/browser/plugin_process_host.h b/chrome/browser/plugin_process_host.h index 5254752..a632308 100644 --- a/chrome/browser/plugin_process_host.h +++ b/chrome/browser/plugin_process_host.h @@ -14,7 +14,7 @@ #include <vector> #include "base/basictypes.h" -#include "base/scoped_ptr.h" +#include "base/ref_counted.h" #include "chrome/browser/browser_child_process_host.h" #include "chrome/browser/net/resolve_proxy_msg_helper.h" #include "chrome/browser/renderer_host/resource_message_filter.h" diff --git a/chrome/browser/pref_value_store.h b/chrome/browser/pref_value_store.h index 2950d54..5afbb64 100644 --- a/chrome/browser/pref_value_store.h +++ b/chrome/browser/pref_value_store.h @@ -13,7 +13,6 @@ #include "base/callback.h" #include "base/gtest_prod_util.h" #include "base/ref_counted.h" -#include "base/string16.h" #include "base/scoped_ptr.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/pref_notifier.h" diff --git a/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h b/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h index 3b357b1..c0e841f 100644 --- a/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h +++ b/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h @@ -10,7 +10,6 @@ #include "base/basictypes.h" #include "base/observer_list.h" -#include "base/scoped_ptr.h" #include "chrome/browser/profile.h" diff --git a/chrome/browser/safe_browsing/bloom_filter.h b/chrome/browser/safe_browsing/bloom_filter.h index c62e37c..094985e 100644 --- a/chrome/browser/safe_browsing/bloom_filter.h +++ b/chrome/browser/safe_browsing/bloom_filter.h @@ -22,6 +22,7 @@ #include "base/gtest_prod_util.h" #include "base/ref_counted.h" +#include "base/scoped_ptr.h" #include "chrome/browser/safe_browsing/safe_browsing_util.h" class FilePath; diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h index c5ed90a..bc25349 100644 --- a/chrome/browser/safe_browsing/safe_browsing_service.h +++ b/chrome/browser/safe_browsing/safe_browsing_service.h @@ -17,6 +17,7 @@ #include "base/hash_tables.h" #include "base/lock.h" #include "base/ref_counted.h" +#include "base/scoped_ptr.h" #include "base/time.h" #include "chrome/browser/safe_browsing/safe_browsing_util.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h index 92e986f..f32507f 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h +++ b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h @@ -11,6 +11,7 @@ #include "base/callback.h" #include "base/file_path.h" +#include "base/scoped_ptr.h" #include "chrome/browser/safe_browsing/safe_browsing_store.h" #include "testing/gtest/include/gtest/gtest_prod.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_util.h b/chrome/browser/safe_browsing/safe_browsing_util.h index f055c60..b382608e 100644 --- a/chrome/browser/safe_browsing/safe_browsing_util.h +++ b/chrome/browser/safe_browsing/safe_browsing_util.h @@ -14,7 +14,6 @@ #include <vector> #include "base/basictypes.h" -#include "base/scoped_ptr.h" #include "chrome/browser/safe_browsing/chunk_range.h" class GURL; diff --git a/chrome/browser/ssl/ssl_add_cert_handler.h b/chrome/browser/ssl/ssl_add_cert_handler.h index 3b33403..0c4ec22 100644 --- a/chrome/browser/ssl/ssl_add_cert_handler.h +++ b/chrome/browser/ssl/ssl_add_cert_handler.h @@ -8,7 +8,6 @@ #include "base/basictypes.h" #include "base/ref_counted.h" -#include "base/string16.h" namespace net { class X509Certificate; diff --git a/chrome/browser/sync/engine/net/server_connection_manager.h b/chrome/browser/sync/engine/net/server_connection_manager.h index 0dfe9d5..602116a 100644 --- a/chrome/browser/sync/engine/net/server_connection_manager.h +++ b/chrome/browser/sync/engine/net/server_connection_manager.h @@ -12,7 +12,6 @@ #include "base/atomicops.h" #include "base/lock.h" #include "base/logging.h" -#include "base/scoped_ptr.h" #include "base/string_util.h" #include "chrome/browser/sync/syncable/syncable_id.h" #include "chrome/common/deprecated/event_sys.h" diff --git a/chrome/browser/sync/glue/autofill_change_processor.h b/chrome/browser/sync/glue/autofill_change_processor.h index 0d149a5..a9af80e 100644 --- a/chrome/browser/sync/glue/autofill_change_processor.h +++ b/chrome/browser/sync/glue/autofill_change_processor.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_CHANGE_PROCESSOR_H_ #pragma once -#include "base/scoped_ptr.h" #include "chrome/browser/autofill/autofill_profile.h" #include "chrome/browser/autofill/credit_card.h" #include "chrome/browser/autofill/personal_data_manager.h" diff --git a/chrome/browser/sync/glue/autofill_model_associator.h b/chrome/browser/sync/glue/autofill_model_associator.h index 37ff749..07c3a58 100644 --- a/chrome/browser/sync/glue/autofill_model_associator.h +++ b/chrome/browser/sync/glue/autofill_model_associator.h @@ -14,7 +14,6 @@ #include "base/basictypes.h" #include "base/lock.h" #include "base/ref_counted.h" -#include "base/scoped_ptr.h" #include "chrome/browser/autofill/personal_data_manager.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/sync/engine/syncapi.h" diff --git a/chrome/browser/sync/glue/bookmark_change_processor.h b/chrome/browser/sync/glue/bookmark_change_processor.h index 9ea314b..b87fcce 100644 --- a/chrome/browser/sync/glue/bookmark_change_processor.h +++ b/chrome/browser/sync/glue/bookmark_change_processor.h @@ -1,4 +1,4 @@ -// 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. @@ -8,7 +8,6 @@ #include <vector> -#include "base/scoped_ptr.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/sync/engine/syncapi.h" #include "chrome/browser/sync/glue/change_processor.h" diff --git a/chrome/browser/sync/glue/data_type_manager_impl.h b/chrome/browser/sync/glue/data_type_manager_impl.h index dc61489..a735394 100644 --- a/chrome/browser/sync/glue/data_type_manager_impl.h +++ b/chrome/browser/sync/glue/data_type_manager_impl.h @@ -12,7 +12,6 @@ #include <vector> #include "base/basictypes.h" -#include "base/scoped_ptr.h" #include "base/task.h" #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" diff --git a/chrome/browser/sync/glue/password_change_processor.h b/chrome/browser/sync/glue/password_change_processor.h index 603f164..99955bf 100644 --- a/chrome/browser/sync/glue/password_change_processor.h +++ b/chrome/browser/sync/glue/password_change_processor.h @@ -9,7 +9,6 @@ #include "chrome/browser/sync/glue/change_processor.h" #include "base/basictypes.h" -#include "base/scoped_ptr.h" #include "chrome/browser/sync/glue/sync_backend_host.h" #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" diff --git a/chrome/browser/sync/glue/password_model_associator.h b/chrome/browser/sync/glue/password_model_associator.h index b1b6a6a..9015e1a 100644 --- a/chrome/browser/sync/glue/password_model_associator.h +++ b/chrome/browser/sync/glue/password_model_associator.h @@ -12,7 +12,6 @@ #include "base/basictypes.h" #include "base/lock.h" -#include "base/scoped_ptr.h" #include "base/task.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/history/history_types.h" diff --git a/chrome/browser/sync/glue/preference_change_processor.h b/chrome/browser/sync/glue/preference_change_processor.h index 93c4f6a..c4a0478 100644 --- a/chrome/browser/sync/glue/preference_change_processor.h +++ b/chrome/browser/sync/glue/preference_change_processor.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 @@ #include <string> -#include "base/scoped_ptr.h" #include "chrome/browser/pref_service.h" #include "chrome/browser/sync/engine/syncapi.h" #include "chrome/browser/sync/glue/change_processor.h" diff --git a/chrome/browser/sync/glue/preference_model_associator.h b/chrome/browser/sync/glue/preference_model_associator.h index 0b3bfaa..fd29df8 100644 --- a/chrome/browser/sync/glue/preference_model_associator.h +++ b/chrome/browser/sync/glue/preference_model_associator.h @@ -11,7 +11,6 @@ #include <string> #include "base/basictypes.h" -#include "base/scoped_ptr.h" #include "chrome/browser/pref_service.h" #include "chrome/browser/sync/glue/model_associator.h" #include "chrome/browser/sync/unrecoverable_error_handler.h" diff --git a/chrome/browser/sync/glue/typed_url_model_associator.h b/chrome/browser/sync/glue/typed_url_model_associator.h index 7424d78b..9b25a0f 100644 --- a/chrome/browser/sync/glue/typed_url_model_associator.h +++ b/chrome/browser/sync/glue/typed_url_model_associator.h @@ -11,7 +11,6 @@ #include <vector> #include "base/basictypes.h" -#include "base/scoped_ptr.h" #include "base/string16.h" #include "base/task.h" #include "chrome/browser/chrome_thread.h" diff --git a/chrome/browser/tab_contents/navigation_controller.h b/chrome/browser/tab_contents/navigation_controller.h index 43ab1f7..88c6538 100644 --- a/chrome/browser/tab_contents/navigation_controller.h +++ b/chrome/browser/tab_contents/navigation_controller.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. @@ -12,7 +12,6 @@ #include <vector> #include "base/linked_ptr.h" -#include "base/string16.h" #include "base/time.h" #include "googleurl/src/gurl.h" #include "chrome/browser/sessions/session_id.h" diff --git a/chrome/browser/tab_contents/navigation_entry.h b/chrome/browser/tab_contents/navigation_entry.h index 1a65844..9a5f6a5 100644 --- a/chrome/browser/tab_contents/navigation_entry.h +++ b/chrome/browser/tab_contents/navigation_entry.h @@ -10,7 +10,6 @@ #include "base/basictypes.h" #include "base/ref_counted.h" -#include "base/scoped_ptr.h" #include "chrome/browser/tab_contents/security_style.h" #include "chrome/common/page_transition_types.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.h b/chrome/browser/tab_contents/tab_contents_view_mac.h index a518869..63d29f3 100644 --- a/chrome/browser/tab_contents/tab_contents_view_mac.h +++ b/chrome/browser/tab_contents/tab_contents_view_mac.h @@ -10,7 +10,6 @@ #include <string> -#include "base/scoped_ptr.h" #include "base/scoped_nsobject.h" #include "chrome/browser/cocoa/base_view.h" #include "chrome/browser/tab_contents/tab_contents_view.h" diff --git a/chrome/browser/views/extensions/extension_view.h b/chrome/browser/views/extensions/extension_view.h index f31aab2..6eded74a 100644 --- a/chrome/browser/views/extensions/extension_view.h +++ b/chrome/browser/views/extensions/extension_view.h @@ -1,4 +1,4 @@ -// 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. @@ -8,7 +8,6 @@ #include "build/build_config.h" -#include "base/scoped_ptr.h" #include "third_party/skia/include/core/SkBitmap.h" #include "views/controls/native/native_view_host.h" diff --git a/chrome/browser/views/tabs/dragged_tab_controller.h b/chrome/browser/views/tabs/dragged_tab_controller.h index 840a4fe..dca71cb 100644 --- a/chrome/browser/views/tabs/dragged_tab_controller.h +++ b/chrome/browser/views/tabs/dragged_tab_controller.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. @@ -7,6 +7,7 @@ #pragma once #include "base/message_loop.h" +#include "base/scoped_ptr.h" #include "base/timer.h" #include "chrome/browser/dock_info.h" #include "chrome/browser/tab_contents/tab_contents_delegate.h" diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h index 305ad78..a3bcab9 100644 --- a/chrome/test/testing_profile.h +++ b/chrome/test/testing_profile.h @@ -7,8 +7,8 @@ #pragma once #include "base/ref_counted.h" -#include "base/scoped_temp_dir.h" #include "base/scoped_ptr.h" +#include "base/scoped_temp_dir.h" #include "base/timer.h" #include "chrome/browser/profile.h" |