diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-10 03:49:43 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-10 03:49:43 +0000 |
commit | 8b43b064460283034234dde05695ad08ce12e5d7 (patch) | |
tree | a1e18fb5157603cbbf6742cfaad1703ecb98260e | |
parent | 96fe50e3c30274d1ccb23704c9318857631c549d (diff) | |
download | chromium_src-8b43b064460283034234dde05695ad08ce12e5d7.zip chromium_src-8b43b064460283034234dde05695ad08ce12e5d7.tar.gz chromium_src-8b43b064460283034234dde05695ad08ce12e5d7.tar.bz2 |
iwyu: Use callback_old.h where appropriate, part 2.
BUG=none
TEST=none
R=thakis@chromium.org
Review URL: http://codereview.chromium.org/6995007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84753 0039d316-1c4b-4281-b951-d872f2087c98
38 files changed, 40 insertions, 34 deletions
diff --git a/base/callback_unittest.cc b/base/callback_unittest.cc index da2f150..de9f387 100644 --- a/base/callback_unittest.cc +++ b/base/callback_unittest.cc @@ -4,6 +4,7 @@ #include "base/callback.h" #include "base/callback_internal.h" +#include "base/callback_old.h" #include "base/memory/scoped_ptr.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/chrome/browser/browsing_data_indexed_db_helper.cc b/chrome/browser/browsing_data_indexed_db_helper.cc index e809d18..7a013c1 100644 --- a/chrome/browser/browsing_data_indexed_db_helper.cc +++ b/chrome/browser/browsing_data_indexed_db_helper.cc @@ -4,6 +4,7 @@ #include "chrome/browser/browsing_data_indexed_db_helper.h" +#include "base/callback_old.h" #include "base/file_util.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop.h" diff --git a/chrome/browser/browsing_data_indexed_db_helper.h b/chrome/browser/browsing_data_indexed_db_helper.h index 2abe5d4..e85d4de 100644 --- a/chrome/browser/browsing_data_indexed_db_helper.h +++ b/chrome/browser/browsing_data_indexed_db_helper.h @@ -9,7 +9,7 @@ #include <string> #include <vector> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/file_path.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" diff --git a/chrome/browser/browsing_data_local_storage_helper.h b/chrome/browser/browsing_data_local_storage_helper.h index 5c66acb..620ca75 100644 --- a/chrome/browser/browsing_data_local_storage_helper.h +++ b/chrome/browser/browsing_data_local_storage_helper.h @@ -9,7 +9,7 @@ #include <string> #include <vector> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/file_path.h" #include "base/memory/scoped_ptr.h" #include "base/synchronization/lock.h" diff --git a/chrome/browser/download/download_safe_browsing_client.h b/chrome/browser/download/download_safe_browsing_client.h index 68f0287..7623733 100644 --- a/chrome/browser/download/download_safe_browsing_client.h +++ b/chrome/browser/download/download_safe_browsing_client.h @@ -6,7 +6,7 @@ #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SAFE_BROWSING_CLIENT_H_ #pragma once -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/ref_counted.h" #include "base/time.h" #include "chrome/browser/safe_browsing/safe_browsing_service.h" diff --git a/chrome/browser/extensions/extension_accessibility_api.h b/chrome/browser/extensions/extension_accessibility_api.h index 66e2271..2dfc4c1 100644 --- a/chrome/browser/extensions/extension_accessibility_api.h +++ b/chrome/browser/extensions/extension_accessibility_api.h @@ -9,7 +9,7 @@ #include <string> #include <vector> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/singleton.h" #include "base/values.h" #include "chrome/browser/accessibility_events.h" diff --git a/chrome/browser/extensions/file_reader.h b/chrome/browser/extensions/file_reader.h index 202bf44..4651260 100644 --- a/chrome/browser/extensions/file_reader.h +++ b/chrome/browser/extensions/file_reader.h @@ -8,7 +8,7 @@ #include <string> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/ref_counted.h" #include "chrome/common/extensions/extension_resource.h" diff --git a/chrome/browser/history/top_sites_backend.h b/chrome/browser/history/top_sites_backend.h index 5cb39ab..b469d79 100644 --- a/chrome/browser/history/top_sites_backend.h +++ b/chrome/browser/history/top_sites_backend.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_HISTORY_TOP_SITES_BACKEND_H_ #pragma once +#include "base/callback_old.h" #include "base/file_path.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" diff --git a/chrome/browser/icon_manager.h b/chrome/browser/icon_manager.h index 81ecb9f..a363df6 100644 --- a/chrome/browser/icon_manager.h +++ b/chrome/browser/icon_manager.h @@ -48,7 +48,7 @@ #include <map> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/hash_tables.h" #include "chrome/browser/icon_loader.h" #include "content/browser/cancelable_request.h" diff --git a/chrome/browser/notifications/balloon_collection.h b/chrome/browser/notifications/balloon_collection.h index a13388e..743edb5 100644 --- a/chrome/browser/notifications/balloon_collection.h +++ b/chrome/browser/notifications/balloon_collection.h @@ -11,7 +11,7 @@ #include <deque> #include <string> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/scoped_ptr.h" class Balloon; diff --git a/chrome/browser/password_manager/password_store.h b/chrome/browser/password_manager/password_store.h index b6a5fc3..b368ba1 100644 --- a/chrome/browser/password_manager/password_store.h +++ b/chrome/browser/password_manager/password_store.h @@ -8,7 +8,7 @@ #include <vector> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/ref_counted.h" #include "base/observer_list.h" #include "base/threading/thread.h" diff --git a/chrome/browser/remoting/directory_add_request.h b/chrome/browser/remoting/directory_add_request.h index 5fbc20f..f03b820 100644 --- a/chrome/browser/remoting/directory_add_request.h +++ b/chrome/browser/remoting/directory_add_request.h @@ -7,7 +7,7 @@ #include <string> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/scoped_ptr.h" #include "chrome/common/remoting/chromoting_host_info.h" #include "chrome/common/net/url_fetcher.h" diff --git a/chrome/browser/remoting/setup_flow_register_step.cc b/chrome/browser/remoting/setup_flow_register_step.cc index 7fb02eb..1811fa2 100644 --- a/chrome/browser/remoting/setup_flow_register_step.cc +++ b/chrome/browser/remoting/setup_flow_register_step.cc @@ -4,6 +4,7 @@ #include "chrome/browser/remoting/setup_flow_register_step.h" +#include "base/callback_old.h" #include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/remoting/setup_flow_login_step.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_store.h b/chrome/browser/safe_browsing/safe_browsing_store.h index 07b6128..1f54d2d 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store.h +++ b/chrome/browser/safe_browsing/safe_browsing_store.h @@ -10,7 +10,7 @@ #include <vector> #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/hash_tables.h" #include "base/task.h" #include "base/time.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.h b/chrome/browser/safe_browsing/safe_browsing_store_file.h index 72a05f7..6061cd2 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_file.h +++ b/chrome/browser/safe_browsing/safe_browsing_store_file.h @@ -11,7 +11,7 @@ #include "chrome/browser/safe_browsing/safe_browsing_store.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/file_util.h" // Implement SafeBrowsingStore in terms of a flat file. The file diff --git a/chrome/browser/service/service_process_control.h b/chrome/browser/service/service_process_control.h index 1a78478..05914d0 100644 --- a/chrome/browser/service/service_process_control.h +++ b/chrome/browser/service/service_process_control.h @@ -11,7 +11,7 @@ #include <vector> #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/id_map.h" #include "base/memory/scoped_ptr.h" #include "base/process.h" diff --git a/chrome/browser/sessions/base_session_service.h b/chrome/browser/sessions/base_session_service.h index 16eff04..9dcd884 100644 --- a/chrome/browser/sessions/base_session_service.h +++ b/chrome/browser/sessions/base_session_service.h @@ -7,7 +7,7 @@ #pragma once #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/file_path.h" #include "base/memory/ref_counted.h" #include "chrome/browser/profiles/profile_keyed_service.h" diff --git a/chrome/browser/sync/engine/model_changing_syncer_command.cc b/chrome/browser/sync/engine/model_changing_syncer_command.cc index cc2a8eb..7c73631 100644 --- a/chrome/browser/sync/engine/model_changing_syncer_command.cc +++ b/chrome/browser/sync/engine/model_changing_syncer_command.cc @@ -4,7 +4,7 @@ #include "chrome/browser/sync/engine/model_changing_syncer_command.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "chrome/browser/sync/engine/model_safe_worker.h" #include "chrome/browser/sync/sessions/status_controller.h" #include "chrome/browser/sync/sessions/sync_session.h" diff --git a/chrome/browser/sync/engine/model_safe_worker.h b/chrome/browser/sync/engine/model_safe_worker.h index 29e11eb..f3fffc4 100644 --- a/chrome/browser/sync/engine/model_safe_worker.h +++ b/chrome/browser/sync/engine/model_safe_worker.h @@ -10,7 +10,7 @@ #include <string> #include <vector> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/ref_counted.h" #include "chrome/browser/sync/syncable/model_type.h" diff --git a/chrome/browser/sync/engine/syncapi.h b/chrome/browser/sync/engine/syncapi.h index 3ea59f3..0c181a8 100644 --- a/chrome/browser/sync/engine/syncapi.h +++ b/chrome/browser/sync/engine/syncapi.h @@ -43,7 +43,7 @@ #include <vector> #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/gtest_prod_util.h" #include "base/memory/scoped_ptr.h" #include "base/tracked.h" diff --git a/chrome/browser/tab_contents/thumbnail_generator.h b/chrome/browser/tab_contents/thumbnail_generator.h index 71392ab2..fb47293 100644 --- a/chrome/browser/tab_contents/thumbnail_generator.h +++ b/chrome/browser/tab_contents/thumbnail_generator.h @@ -11,7 +11,7 @@ #include <vector> #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/linked_ptr.h" #include "base/timer.h" #include "content/browser/renderer_host/backing_store.h" diff --git a/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc b/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc index c5a6725..42ad68d 100644 --- a/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc +++ b/chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc @@ -6,7 +6,7 @@ #include <algorithm> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/i18n/rtl.h" #include "chrome/browser/platform_util.h" #include "chrome/browser/tabs/tab_strip_model.h" diff --git a/chrome/browser/ui/gtk/tabs/dragged_tab_gtk.h b/chrome/browser/ui/gtk/tabs/dragged_tab_gtk.h index 6ff0e65..eed2ed5 100644 --- a/chrome/browser/ui/gtk/tabs/dragged_tab_gtk.h +++ b/chrome/browser/ui/gtk/tabs/dragged_tab_gtk.h @@ -8,7 +8,7 @@ #include <gtk/gtk.h> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/scoped_ptr.h" #include "base/task.h" #include "ui/base/animation/animation_delegate.h" diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h index 350a13b..f9de9dd 100644 --- a/chrome/browser/web_applications/web_app.h +++ b/chrome/browser/web_applications/web_app.h @@ -8,7 +8,7 @@ #include <vector> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/file_path.h" #include "build/build_config.h" #include "chrome/browser/shell_integration.h" diff --git a/chrome/renderer/autofill/form_manager.h b/chrome/renderer/autofill/form_manager.h index 245dd97..928c4b0 100644 --- a/chrome/renderer/autofill/form_manager.h +++ b/chrome/renderer/autofill/form_manager.h @@ -9,7 +9,7 @@ #include <map> #include <vector> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/scoped_vector.h" #include "base/string16.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" diff --git a/chrome/renderer/safe_browsing/phishing_classifier.h b/chrome/renderer/safe_browsing/phishing_classifier.h index 8aeda98..5a66451 100644 --- a/chrome/renderer/safe_browsing/phishing_classifier.h +++ b/chrome/renderer/safe_browsing/phishing_classifier.h @@ -19,7 +19,7 @@ #define CHROME_RENDERER_SAFE_BROWSING_PHISHING_CLASSIFIER_H_ #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/scoped_ptr.h" #include "base/string16.h" #include "base/task.h" diff --git a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h index 718da66..49be63e 100644 --- a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h +++ b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h @@ -13,7 +13,7 @@ #include <string> #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/scoped_ptr.h" #include "base/task.h" diff --git a/chrome/renderer/safe_browsing/phishing_term_feature_extractor.h b/chrome/renderer/safe_browsing/phishing_term_feature_extractor.h index 0d4b568..74c9b0b 100644 --- a/chrome/renderer/safe_browsing/phishing_term_feature_extractor.h +++ b/chrome/renderer/safe_browsing/phishing_term_feature_extractor.h @@ -19,7 +19,7 @@ #include <string> #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/hash_tables.h" #include "base/memory/scoped_ptr.h" #include "base/string16.h" diff --git a/chrome/renderer/safe_browsing/scorer.h b/chrome/renderer/safe_browsing/scorer.h index 93fdf6f..adbf088c3 100644 --- a/chrome/renderer/safe_browsing/scorer.h +++ b/chrome/renderer/safe_browsing/scorer.h @@ -18,7 +18,7 @@ #include <string> #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/hash_tables.h" #include "base/memory/ref_counted.h" #include "base/message_loop_proxy.h" diff --git a/chrome/service/cloud_print/print_system.h b/chrome/service/cloud_print/print_system.h index a9a5a0c..cba16c3 100644 --- a/chrome/service/cloud_print/print_system.h +++ b/chrome/service/cloud_print/print_system.h @@ -10,7 +10,7 @@ #include <string> #include <vector> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/ref_counted.h" #include "printing/backend/print_backend.h" diff --git a/content/browser/worker_host/worker_message_filter.h b/content/browser/worker_host/worker_message_filter.h index ebdbf31..52915e1 100644 --- a/content/browser/worker_host/worker_message_filter.h +++ b/content/browser/worker_host/worker_message_filter.h @@ -5,7 +5,7 @@ #ifndef CONTENT_BROWSER_WORKER_HOST_WORKER_MESSAGE_FILTER_H_ #define CONTENT_BROWSER_WORKER_HOST_WORKER_MESSAGE_FILTER_H_ -#include "base/callback.h" +#include "base/callback_old.h" #include "content/browser/browser_message_filter.h" class ResourceDispatcherHost; diff --git a/content/renderer/command_buffer_proxy.h b/content/renderer/command_buffer_proxy.h index 9cbd033..d1c98b9 100644 --- a/content/renderer/command_buffer_proxy.h +++ b/content/renderer/command_buffer_proxy.h @@ -11,7 +11,7 @@ #include <map> #include <queue> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/linked_ptr.h" #include "base/memory/scoped_ptr.h" #include "gpu/command_buffer/common/command_buffer.h" diff --git a/content/renderer/renderer_gl_context.h b/content/renderer/renderer_gl_context.h index 26a6d00..f91618a 100644 --- a/content/renderer/renderer_gl_context.h +++ b/content/renderer/renderer_gl_context.h @@ -10,7 +10,7 @@ #define CONTENT_RENDERER_RENDERER_GL_CONTEXT_H_ #pragma once -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" diff --git a/content/renderer/transport_texture_host.h b/content/renderer/transport_texture_host.h index fa95a1e..c982d85 100644 --- a/content/renderer/transport_texture_host.h +++ b/content/renderer/transport_texture_host.h @@ -93,7 +93,7 @@ #include <vector> #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/task.h" diff --git a/net/base/test_completion_callback.h b/net/base/test_completion_callback.h index ba578d4..fe38e92 100644 --- a/net/base/test_completion_callback.h +++ b/net/base/test_completion_callback.h @@ -6,7 +6,8 @@ #define NET_BASE_TEST_COMPLETION_CALLBACK_H_ #pragma once -#include "base/callback.h" +#include "base/callback_old.h" +#include "base/tuple.h" //----------------------------------------------------------------------------- // completion callback helper diff --git a/net/disk_cache/disk_cache_test_util.h b/net/disk_cache/disk_cache_test_util.h index f957447..13549c7 100644 --- a/net/disk_cache/disk_cache_test_util.h +++ b/net/disk_cache/disk_cache_test_util.h @@ -8,10 +8,11 @@ #include <string> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/file_path.h" #include "base/message_loop.h" #include "base/timer.h" +#include "base/tuple.h" #include "build/build_config.h" // Re-creates a given test file inside the cache test folder. diff --git a/remoting/host/capturer.h b/remoting/host/capturer.h index 0adf45b..5b95294 100644 --- a/remoting/host/capturer.h +++ b/remoting/host/capturer.h @@ -6,7 +6,7 @@ #define REMOTING_HOST_CAPTURER_H_ #include "base/basictypes.h" -#include "base/callback.h" +#include "base/callback_old.h" #include "remoting/base/capture_data.h" #include "remoting/base/types.h" diff --git a/remoting/host/register_support_host_request.h b/remoting/host/register_support_host_request.h index 3e90dcf..b8f904e 100644 --- a/remoting/host/register_support_host_request.h +++ b/remoting/host/register_support_host_request.h @@ -7,7 +7,7 @@ #include <string> -#include "base/callback.h" +#include "base/callback_old.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "remoting/host/host_key_pair.h" |