summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 19:11:59 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 19:11:59 +0000
commit1fec84062d9cac9ed75612c339172c22c9c6837d (patch)
tree615de2f1722c6f06f33259a7dc8eade8a48ff9ee /chrome
parent1ac099ccaa4bc2d28473f310e74c4414e5a10de7 (diff)
downloadchromium_src-1fec84062d9cac9ed75612c339172c22c9c6837d.zip
chromium_src-1fec84062d9cac9ed75612c339172c22c9c6837d.tar.gz
chromium_src-1fec84062d9cac9ed75612c339172c22c9c6837d.tar.bz2
Removed unneeded includes of base/scoped_ptr.h. Reduce usage from ~800 files to ~400.
Review URL: http://codereview.chromium.org/46039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_model.h1
-rwxr-xr-xchrome/browser/autocomplete/autocomplete_popup_view_gtk.cc1
-rwxr-xr-xchrome/browser/autocomplete/autocomplete_popup_view_win.cc1
-rw-r--r--chrome/browser/browser.h1
-rw-r--r--chrome/browser/download/download_file.cc1
-rw-r--r--chrome/browser/download/save_file_manager.cc1
-rw-r--r--chrome/browser/external_protocol_handler.cc1
-rw-r--r--chrome/browser/gtk/location_bar_view_gtk.h1
-rw-r--r--chrome/browser/history/in_memory_history_backend.h1
-rw-r--r--chrome/browser/renderer_host/render_widget_host.h1
-rw-r--r--chrome/browser/search_engines/template_url_parser_unittest.cc1
-rw-r--r--chrome/browser/tab_contents/interstitial_page.h1
-rw-r--r--chrome/browser/tab_contents/tab_contents.h1
-rw-r--r--chrome/browser/tab_contents/web_contents_view_mac.h1
-rw-r--r--chrome/browser/views/password_manager_exceptions_view.h1
-rw-r--r--chrome/browser/views/status_bubble_views.cc1
-rw-r--r--chrome/browser/worker_host/worker_process_host.h1
-rw-r--r--chrome/common/chrome_plugin_lib.h1
-rw-r--r--chrome/common/libxml_utils.h1
-rw-r--r--chrome/common/resource_dispatcher_unittest.cc1
-rw-r--r--chrome/installer/util/helper_unittest.cc1
-rw-r--r--chrome/installer/util/install_util.cc1
-rw-r--r--chrome/installer/util/l10n_string_util.cc1
-rw-r--r--chrome/views/link.cc1
-rw-r--r--chrome/views/repeat_controller.h1
-rw-r--r--chrome/views/tree_node_model.h1
26 files changed, 13 insertions, 13 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_model.h b/chrome/browser/autocomplete/autocomplete_popup_model.h
index fa2c81e..94772e6 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_model.h
+++ b/chrome/browser/autocomplete/autocomplete_popup_model.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_MODEL_H_
#define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_MODEL_H_
+#include "base/scoped_ptr.h"
#include "chrome/browser/autocomplete/autocomplete.h"
#include "chrome/common/notification_registrar.h"
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
index 4cd305f..94a6343 100755
--- a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
@@ -6,7 +6,6 @@
#include "base/gfx/gtk_util.h"
#include "base/logging.h"
-#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "chrome/browser/autocomplete/autocomplete.h"
#include "chrome/browser/autocomplete/autocomplete_edit.h"
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_win.cc b/chrome/browser/autocomplete/autocomplete_popup_view_win.cc
index 1c13a6c..9e76de3 100755
--- a/chrome/browser/autocomplete/autocomplete_popup_view_win.cc
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_win.cc
@@ -11,7 +11,6 @@
#include <atlmisc.h>
#include <cmath>
-#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "base/win_util.h"
#include "chrome/browser/autocomplete/autocomplete.h"
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 025a8e5..b4d83ba 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -26,6 +26,7 @@
#include "chrome/common/notification_observer.h"
#include "chrome/common/pref_member.h"
#include "base/gfx/rect.h"
+#include "base/scoped_ptr.h"
#include "base/task.h"
#include "skia/include/SkBitmap.h"
diff --git a/chrome/browser/download/download_file.cc b/chrome/browser/download/download_file.cc
index b66bbcf..8a3444a 100644
--- a/chrome/browser/download/download_file.cc
+++ b/chrome/browser/download/download_file.cc
@@ -6,7 +6,6 @@
#include "base/file_util.h"
#include "base/path_service.h"
-#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "base/task.h"
#include "build/build_config.h"
diff --git a/chrome/browser/download/save_file_manager.cc b/chrome/browser/download/save_file_manager.cc
index a8806ab..9f444c50 100644
--- a/chrome/browser/download/save_file_manager.cc
+++ b/chrome/browser/download/save_file_manager.cc
@@ -8,7 +8,6 @@
#include "base/file_util.h"
#include "base/logging.h"
-#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "base/task.h"
#include "chrome/browser/browser_process.h"
diff --git a/chrome/browser/external_protocol_handler.cc b/chrome/browser/external_protocol_handler.cc
index a24c4b3..98ab6f1 100644
--- a/chrome/browser/external_protocol_handler.cc
+++ b/chrome/browser/external_protocol_handler.cc
@@ -11,7 +11,6 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/registry.h"
-#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "base/thread.h"
#include "chrome/browser/browser.h"
diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h
index a2a3208..d07091a 100644
--- a/chrome/browser/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/gtk/location_bar_view_gtk.h
@@ -10,6 +10,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/scoped_ptr.h"
#include "chrome/browser/autocomplete/autocomplete_edit.h"
#include "chrome/browser/location_bar.h"
#include "chrome/common/page_transition_types.h"
diff --git a/chrome/browser/history/in_memory_history_backend.h b/chrome/browser/history/in_memory_history_backend.h
index ed9dabd..9b78294 100644
--- a/chrome/browser/history/in_memory_history_backend.h
+++ b/chrome/browser/history/in_memory_history_backend.h
@@ -16,6 +16,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/scoped_ptr.h"
#include "chrome/browser/history/history_notifications.h"
#include "chrome/common/notification_observer.h"
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h
index 6e80a9d..59235d0 100644
--- a/chrome/browser/renderer_host/render_widget_host.h
+++ b/chrome/browser/renderer_host/render_widget_host.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/gfx/size.h"
+#include "base/scoped_ptr.h"
#include "base/timer.h"
#include "chrome/common/ipc_channel.h"
#include "chrome/common/native_web_keyboard_event.h"
diff --git a/chrome/browser/search_engines/template_url_parser_unittest.cc b/chrome/browser/search_engines/template_url_parser_unittest.cc
index 4cb1fd2..bac35c4 100644
--- a/chrome/browser/search_engines/template_url_parser_unittest.cc
+++ b/chrome/browser/search_engines/template_url_parser_unittest.cc
@@ -5,7 +5,6 @@
#include "base/file_util.h"
#include "base/logging.h"
#include "base/path_service.h"
-#include "base/scoped_ptr.h"
#include "chrome/browser/search_engines/template_url.h"
#include "chrome/browser/search_engines/template_url_parser.h"
#include "chrome/common/chrome_paths.h"
diff --git a/chrome/browser/tab_contents/interstitial_page.h b/chrome/browser/tab_contents/interstitial_page.h
index 31176bc..0c9049c 100644
--- a/chrome/browser/tab_contents/interstitial_page.h
+++ b/chrome/browser/tab_contents/interstitial_page.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/gfx/size.h"
+#include "base/scoped_ptr.h"
#include "chrome/browser/renderer_host/render_view_host_delegate.h"
#include "chrome/common/notification_registrar.h"
#include "googleurl/src/gurl.h"
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index d28e068..89b7430 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -12,6 +12,7 @@
#include "base/gfx/native_widget_types.h"
#include "base/gfx/rect.h"
+#include "base/scoped_ptr.h"
#if defined(OS_WIN)
// TODO(evanm): I mean really, c'mon, this can't have broken the build, right?
#include "chrome/browser/autocomplete/autocomplete_edit.h"
diff --git a/chrome/browser/tab_contents/web_contents_view_mac.h b/chrome/browser/tab_contents/web_contents_view_mac.h
index 59eb422..e7bffac 100644
--- a/chrome/browser/tab_contents/web_contents_view_mac.h
+++ b/chrome/browser/tab_contents/web_contents_view_mac.h
@@ -8,6 +8,7 @@
#import <Cocoa/Cocoa.h>
#include "base/gfx/size.h"
+#include "base/scoped_ptr.h"
#include "base/scoped_cftyperef.h"
#include "chrome/browser/cocoa/base_view.h"
#include "chrome/browser/tab_contents/web_contents_view.h"
diff --git a/chrome/browser/views/password_manager_exceptions_view.h b/chrome/browser/views/password_manager_exceptions_view.h
index 836c027..3313211 100644
--- a/chrome/browser/views/password_manager_exceptions_view.h
+++ b/chrome/browser/views/password_manager_exceptions_view.h
@@ -7,7 +7,6 @@
#include <vector>
-#include "base/scoped_ptr.h"
#include "chrome/browser/views/password_manager_view.h"
#include "chrome/browser/webdata/web_data_service.h"
#include "chrome/common/stl_util-inl.h"
diff --git a/chrome/browser/views/status_bubble_views.cc b/chrome/browser/views/status_bubble_views.cc
index bc2647db..144e3f1 100644
--- a/chrome/browser/views/status_bubble_views.cc
+++ b/chrome/browser/views/status_bubble_views.cc
@@ -6,7 +6,6 @@
#include <algorithm>
-#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "chrome/common/animation.h"
#include "chrome/common/gfx/chrome_canvas.h"
diff --git a/chrome/browser/worker_host/worker_process_host.h b/chrome/browser/worker_host/worker_process_host.h
index 40da66f..e0ff095 100644
--- a/chrome/browser/worker_host/worker_process_host.h
+++ b/chrome/browser/worker_host/worker_process_host.h
@@ -8,7 +8,6 @@
#include <list>
#include "base/basictypes.h"
-#include "base/scoped_ptr.h"
#include "chrome/common/child_process_host.h"
#include "chrome/common/ipc_channel.h"
#include "googleurl/src/gurl.h"
diff --git a/chrome/common/chrome_plugin_lib.h b/chrome/common/chrome_plugin_lib.h
index 21bf925..b2dca62 100644
--- a/chrome/common/chrome_plugin_lib.h
+++ b/chrome/common/chrome_plugin_lib.h
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/file_path.h"
#include "base/ref_counted.h"
-#include "base/scoped_ptr.h"
#include "chrome/common/chrome_plugin_api.h"
class MessageLoop;
diff --git a/chrome/common/libxml_utils.h b/chrome/common/libxml_utils.h
index af88ec9..1484139 100644
--- a/chrome/common/libxml_utils.h
+++ b/chrome/common/libxml_utils.h
@@ -9,7 +9,6 @@
#include "libxml/xmlreader.h"
#include "libxml/xmlwriter.h"
-#include "base/scoped_ptr.h"
// Converts a libxml xmlChar* into a UTF-8 std::string.
// NULL inputs produce an empty string.
diff --git a/chrome/common/resource_dispatcher_unittest.cc b/chrome/common/resource_dispatcher_unittest.cc
index a53f0c3..b473893 100644
--- a/chrome/common/resource_dispatcher_unittest.cc
+++ b/chrome/common/resource_dispatcher_unittest.cc
@@ -6,6 +6,7 @@
#include <vector>
#include "base/process.h"
+#include "base/scoped_ptr.h"
#include "chrome/common/filter_policy.h"
#include "chrome/common/render_messages.h"
#include "chrome/common/resource_dispatcher.h"
diff --git a/chrome/installer/util/helper_unittest.cc b/chrome/installer/util/helper_unittest.cc
index 7f34d3a..3152bc1 100644
--- a/chrome/installer/util/helper_unittest.cc
+++ b/chrome/installer/util/helper_unittest.cc
@@ -11,7 +11,6 @@
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/process_util.h"
-#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "chrome/installer/util/helper.h"
#include "chrome/installer/util/work_item.h"
diff --git a/chrome/installer/util/install_util.cc b/chrome/installer/util/install_util.cc
index e6604d8..6fc0328 100644
--- a/chrome/installer/util/install_util.cc
+++ b/chrome/installer/util/install_util.cc
@@ -13,6 +13,7 @@
#include "base/logging.h"
#include "base/registry.h"
+#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "base/win_util.h"
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc
index 46ed565..ff4ec3f 100644
--- a/chrome/installer/util/l10n_string_util.cc
+++ b/chrome/installer/util/l10n_string_util.cc
@@ -4,6 +4,7 @@
#include <map>
#include "base/logging.h"
+#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "installer_util_strings.h"
diff --git a/chrome/views/link.cc b/chrome/views/link.cc
index 8fdd63d..93c1ff1 100644
--- a/chrome/views/link.cc
+++ b/chrome/views/link.cc
@@ -4,7 +4,6 @@
#include "chrome/views/link.h"
-#include "base/scoped_ptr.h"
#include "chrome/common/gfx/chrome_font.h"
#include "chrome/views/event.h"
diff --git a/chrome/views/repeat_controller.h b/chrome/views/repeat_controller.h
index 474d882..b7712d0 100644
--- a/chrome/views/repeat_controller.h
+++ b/chrome/views/repeat_controller.h
@@ -5,6 +5,7 @@
#ifndef CHROME_VIEWS_REPEAT_CONTROLLER_H_
#define CHROME_VIEWS_REPEAT_CONTROLLER_H_
+#include "base/scoped_ptr.h"
#include "base/timer.h"
namespace views {
diff --git a/chrome/views/tree_node_model.h b/chrome/views/tree_node_model.h
index eb7e290..4ca22b0 100644
--- a/chrome/views/tree_node_model.h
+++ b/chrome/views/tree_node_model.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/scoped_ptr.h"
#include "chrome/common/scoped_vector.h"
#include "chrome/views/tree_model.h"