diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 03:15:59 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 03:15:59 +0000 |
commit | 2041cf34db4b3b9e43f9c63a57975798c0677ad7 (patch) | |
tree | 5caa67abfd19b51f124c17ac0c6a68eca0d9e860 /chrome | |
parent | cf03da1cccdc0bae0ced1dcf599c8a74324a1577 (diff) | |
download | chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.zip chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.tar.gz chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.tar.bz2 |
Pulled out Callback code into base/callback.h. This is the first step towards redoing the Callback interfaces.
Added and removed includes as needed.
BUG=35223
TEST=trybots
Review URL: http://codereview.chromium.org/646061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
107 files changed, 116 insertions, 12 deletions
diff --git a/chrome/browser/autocomplete/history_contents_provider.cc b/chrome/browser/autocomplete/history_contents_provider.cc index 0b3865e..ac81c31 100644 --- a/chrome/browser/autocomplete/history_contents_provider.cc +++ b/chrome/browser/autocomplete/history_contents_provider.cc @@ -4,6 +4,7 @@ #include "chrome/browser/autocomplete/history_contents_provider.h" +#include "base/callback.h" #include "base/histogram.h" #include "base/string_util.h" #include "chrome/browser/bookmarks/bookmark_model.h" diff --git a/chrome/browser/autocomplete/search_provider.cc b/chrome/browser/autocomplete/search_provider.cc index e1d8567..704e077 100644 --- a/chrome/browser/autocomplete/search_provider.cc +++ b/chrome/browser/autocomplete/search_provider.cc @@ -5,6 +5,7 @@ #include "chrome/browser/autocomplete/search_provider.h" #include "app/l10n_util.h" +#include "base/callback.h" #include "base/i18n/icu_string_conversions.h" #include "base/message_loop.h" #include "base/string_util.h" diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index be3a44e..e7a51432 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -8,6 +8,7 @@ #include "app/l10n_util.h" #include "app/message_box_flags.h" +#include "base/callback.h" #include "base/file_version_info.h" #include "base/json/json_reader.h" #include "base/keyboard_codes.h" diff --git a/chrome/browser/bookmarks/bookmark_html_writer.cc b/chrome/browser/bookmarks/bookmark_html_writer.cc index f845b8a..40326c5 100644 --- a/chrome/browser/bookmarks/bookmark_html_writer.cc +++ b/chrome/browser/bookmarks/bookmark_html_writer.cc @@ -6,6 +6,7 @@ #include "app/l10n_util.h" #include "base/base64.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/message_loop.h" #include "base/platform_file.h" diff --git a/chrome/browser/bookmarks/bookmark_model.cc b/chrome/browser/bookmarks/bookmark_model.cc index f32ac74..3ea7171 100644 --- a/chrome/browser/bookmarks/bookmark_model.cc +++ b/chrome/browser/bookmarks/bookmark_model.cc @@ -7,6 +7,7 @@ #include "app/gfx/codec/png_codec.h" #include "app/l10n_util.h" #include "app/l10n_util_collator.h" +#include "base/callback.h" #include "base/scoped_vector.h" #include "build/build_config.h" #include "chrome/browser/bookmarks/bookmark_index.h" diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc index a6764aa..f2095c5 100644 --- a/chrome/browser/browser_about_handler.cc +++ b/chrome/browser/browser_about_handler.cc @@ -9,6 +9,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/file_version_info.h" #include "base/histogram.h" #include "base/i18n/number_formatting.h" diff --git a/chrome/browser/browsing_data_database_helper.cc b/chrome/browser/browsing_data_database_helper.cc index 47489a5..2898a77 100644 --- a/chrome/browser/browsing_data_database_helper.cc +++ b/chrome/browser/browsing_data_database_helper.cc @@ -4,6 +4,7 @@ #include "chrome/browser/browsing_data_database_helper.h" +#include "base/callback.h" #include "base/file_util.h" #include "base/message_loop.h" #include "chrome/browser/chrome_thread.h" diff --git a/chrome/browser/browsing_data_database_helper.h b/chrome/browser/browsing_data_database_helper.h index d126a54..2fa936b 100644 --- a/chrome/browser/browsing_data_database_helper.h +++ b/chrome/browser/browsing_data_database_helper.h @@ -8,8 +8,8 @@ #include <string> #include <vector> +#include "base/callback.h" #include "base/scoped_ptr.h" -#include "base/task.h" #include "webkit/database/database_tracker.h" class Profile; diff --git a/chrome/browser/browsing_data_local_storage_helper.h b/chrome/browser/browsing_data_local_storage_helper.h index af423b9..9a82b9b 100644 --- a/chrome/browser/browsing_data_local_storage_helper.h +++ b/chrome/browser/browsing_data_local_storage_helper.h @@ -7,9 +7,10 @@ #include <string> +#include "base/callback.h" #include "base/file_path.h" #include "base/scoped_ptr.h" -#include "base/task.h" +#include "base/time.h" class Profile; diff --git a/chrome/browser/browsing_data_local_storage_helper_unittest.cc b/chrome/browser/browsing_data_local_storage_helper_unittest.cc index 1664903..2f3a5a9 100644 --- a/chrome/browser/browsing_data_local_storage_helper_unittest.cc +++ b/chrome/browser/browsing_data_local_storage_helper_unittest.cc @@ -5,6 +5,7 @@ #include <string> #include "base/basictypes.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/ref_counted.h" #include "chrome/browser/in_process_webkit/webkit_context.h" diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc index a350ae5..c9283a2 100644 --- a/chrome/browser/browsing_data_remover.cc +++ b/chrome/browser/browsing_data_remover.cc @@ -4,6 +4,7 @@ #include "chrome/browser/browsing_data_remover.h" +#include "base/callback.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/download/download_manager.h" #include "chrome/browser/history/history.h" diff --git a/chrome/browser/cancelable_request.h b/chrome/browser/cancelable_request.h index 514a0d7..2dc4b9b 100644 --- a/chrome/browser/cancelable_request.h +++ b/chrome/browser/cancelable_request.h @@ -90,6 +90,7 @@ #include <vector> #include "base/basictypes.h" +#include "base/callback.h" #include "base/cancellation_flag.h" #include "base/lock.h" #include "base/logging.h" diff --git a/chrome/browser/chromeos/login/login_manager_view.cc b/chrome/browser/chromeos/login/login_manager_view.cc index b769627..3e95c2c 100644 --- a/chrome/browser/chromeos/login/login_manager_view.cc +++ b/chrome/browser/chromeos/login/login_manager_view.cc @@ -11,6 +11,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/keyboard_codes.h" #include "base/logging.h" diff --git a/chrome/browser/chromeos/version_loader.h b/chrome/browser/chromeos/version_loader.h index 15c281f..cda36d3 100644 --- a/chrome/browser/chromeos/version_loader.h +++ b/chrome/browser/chromeos/version_loader.h @@ -7,6 +7,7 @@ #include <string> +#include "base/callback.h" #include "chrome/browser/cancelable_request.h" #include "testing/gtest/include/gtest/gtest_prod.h" diff --git a/chrome/browser/cocoa/download_item_mac.mm b/chrome/browser/cocoa/download_item_mac.mm index 25b4022..144b42d 100644 --- a/chrome/browser/cocoa/download_item_mac.mm +++ b/chrome/browser/cocoa/download_item_mac.mm @@ -4,6 +4,7 @@ #include "chrome/browser/cocoa/download_item_mac.h" +#include "base/callback.h" #include "chrome/browser/browser_process.h" #import "chrome/browser/cocoa/download_item_controller.h" #include "chrome/browser/cocoa/download_util_mac.h" diff --git a/chrome/browser/cocoa/history_menu_bridge.mm b/chrome/browser/cocoa/history_menu_bridge.mm index 7a580ee..30b4488 100644 --- a/chrome/browser/cocoa/history_menu_bridge.mm +++ b/chrome/browser/cocoa/history_menu_bridge.mm @@ -3,6 +3,7 @@ // found in the LICENSE file. #include "chrome/browser/cocoa/history_menu_bridge.h" +#include "base/callback.h" #include "base/sys_string_conversions.h" #include "base/string_util.h" #include "chrome/app/chrome_dll_resource.h" // IDC_HISTORY_MENU diff --git a/chrome/browser/cookies_tree_model.cc b/chrome/browser/cookies_tree_model.cc index 0238c12..717ef27 100644 --- a/chrome/browser/cookies_tree_model.cc +++ b/chrome/browser/cookies_tree_model.cc @@ -12,6 +12,7 @@ #include "app/resource_bundle.h" #include "app/table_model_observer.h" #include "app/tree_node_model.h" +#include "base/callback.h" #include "base/linked_ptr.h" #include "base/string_util.h" #include "chrome/browser/in_process_webkit/webkit_context.h" diff --git a/chrome/browser/dom_ui/dom_ui.h b/chrome/browser/dom_ui/dom_ui.h index 5630597..fe1af1c1 100644 --- a/chrome/browser/dom_ui/dom_ui.h +++ b/chrome/browser/dom_ui/dom_ui.h @@ -9,8 +9,8 @@ #include <string> #include <vector> +#include "base/callback.h" #include "base/string16.h" -#include "base/task.h" #include "chrome/common/page_transition_types.h" class DictionaryValue; diff --git a/chrome/browser/dom_ui/dom_ui_favicon_source.cc b/chrome/browser/dom_ui/dom_ui_favicon_source.cc index 34af8fb..4ec0ce8 100644 --- a/chrome/browser/dom_ui/dom_ui_favicon_source.cc +++ b/chrome/browser/dom_ui/dom_ui_favicon_source.cc @@ -5,6 +5,7 @@ #include "chrome/browser/dom_ui/dom_ui_favicon_source.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "chrome/browser/profile.h" #include "chrome/common/url_constants.h" #include "grit/app_resources.h" diff --git a/chrome/browser/dom_ui/dom_ui_thumbnail_source.cc b/chrome/browser/dom_ui/dom_ui_thumbnail_source.cc index 2194ff2..604b641 100644 --- a/chrome/browser/dom_ui/dom_ui_thumbnail_source.cc +++ b/chrome/browser/dom_ui/dom_ui_thumbnail_source.cc @@ -6,6 +6,7 @@ #include "app/gfx/codec/jpeg_codec.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/command_line.h" #include "chrome/browser/profile.h" #include "chrome/browser/thumbnail_store.h" diff --git a/chrome/browser/dom_ui/downloads_dom_handler.cc b/chrome/browser/dom_ui/downloads_dom_handler.cc index 501faf0..c637b47 100644 --- a/chrome/browser/dom_ui/downloads_dom_handler.cc +++ b/chrome/browser/dom_ui/downloads_dom_handler.cc @@ -6,6 +6,7 @@ #include "app/l10n_util.h" #include "base/basictypes.h" +#include "base/callback.h" #include "base/singleton.h" #include "base/string_piece.h" #include "base/thread.h" diff --git a/chrome/browser/dom_ui/filebrowse_ui.cc b/chrome/browser/dom_ui/filebrowse_ui.cc index 4d8e941..618573a 100644 --- a/chrome/browser/dom_ui/filebrowse_ui.cc +++ b/chrome/browser/dom_ui/filebrowse_ui.cc @@ -6,6 +6,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/logging.h" #include "base/message_loop.h" #include "base/path_service.h" diff --git a/chrome/browser/dom_ui/fileicon_source.cc b/chrome/browser/dom_ui/fileicon_source.cc index a5107d2..6be786c 100644 --- a/chrome/browser/dom_ui/fileicon_source.cc +++ b/chrome/browser/dom_ui/fileicon_source.cc @@ -5,6 +5,7 @@ #include "chrome/browser/dom_ui/fileicon_source.h" #include "app/gfx/codec/png_codec.h" +#include "base/callback.h" #include "base/string_util.h" #include "chrome/browser/browser_process.h" #include "chrome/common/time_format.h" diff --git a/chrome/browser/dom_ui/history_ui.cc b/chrome/browser/dom_ui/history_ui.cc index 2f31eb5..0019059 100644 --- a/chrome/browser/dom_ui/history_ui.cc +++ b/chrome/browser/dom_ui/history_ui.cc @@ -6,6 +6,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/i18n/time_formatting.h" #include "base/message_loop.h" #include "base/singleton.h" diff --git a/chrome/browser/dom_ui/html_dialog_ui.cc b/chrome/browser/dom_ui/html_dialog_ui.cc index 4f7995d..739a4c4 100644 --- a/chrome/browser/dom_ui/html_dialog_ui.cc +++ b/chrome/browser/dom_ui/html_dialog_ui.cc @@ -4,6 +4,7 @@ #include "chrome/browser/dom_ui/html_dialog_ui.h" +#include "base/callback.h" #include "base/singleton.h" #include "base/values.h" #include "chrome/browser/tab_contents/tab_contents.h" diff --git a/chrome/browser/dom_ui/most_visited_handler.cc b/chrome/browser/dom_ui/most_visited_handler.cc index d145638..805852e 100644 --- a/chrome/browser/dom_ui/most_visited_handler.cc +++ b/chrome/browser/dom_ui/most_visited_handler.cc @@ -5,6 +5,7 @@ #include "chrome/browser/dom_ui/most_visited_handler.h" #include "app/l10n_util.h" +#include "base/callback.h" #include "base/md5.h" #include "base/singleton.h" #include "base/string_util.h" diff --git a/chrome/browser/dom_ui/new_tab_page_sync_handler.cc b/chrome/browser/dom_ui/new_tab_page_sync_handler.cc index b4443fe..30c3172 100644 --- a/chrome/browser/dom_ui/new_tab_page_sync_handler.cc +++ b/chrome/browser/dom_ui/new_tab_page_sync_handler.cc @@ -5,6 +5,7 @@ #include "chrome/browser/dom_ui/new_tab_page_sync_handler.h" #include "app/l10n_util.h" +#include "base/callback.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "base/values.h" diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc index db95029..2eb5702 100644 --- a/chrome/browser/dom_ui/new_tab_ui.cc +++ b/chrome/browser/dom_ui/new_tab_ui.cc @@ -9,6 +9,7 @@ #include <set> #include "app/l10n_util.h" +#include "base/callback.h" #include "base/command_line.h" #include "base/histogram.h" #include "base/singleton.h" diff --git a/chrome/browser/dom_ui/shown_sections_handler.cc b/chrome/browser/dom_ui/shown_sections_handler.cc index d4388e7..b9c63ef 100644 --- a/chrome/browser/dom_ui/shown_sections_handler.cc +++ b/chrome/browser/dom_ui/shown_sections_handler.cc @@ -4,6 +4,7 @@ #include "chrome/browser/dom_ui/shown_sections_handler.h" +#include "base/callback.h" #include "base/string_util.h" #include "base/values.h" #include "chrome/browser/profile.h" diff --git a/chrome/browser/dom_ui/tips_handler.cc b/chrome/browser/dom_ui/tips_handler.cc index 34294d4..eb94eeb 100644 --- a/chrome/browser/dom_ui/tips_handler.cc +++ b/chrome/browser/dom_ui/tips_handler.cc @@ -5,6 +5,7 @@ #include <string> #include "app/l10n_util.h" +#include "base/callback.h" #include "base/string_util.h" #include "base/values.h" #include "chrome/browser/browser_process.h" diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc index a69703b..5696cd3 100644 --- a/chrome/browser/download/download_manager.cc +++ b/chrome/browser/download/download_manager.cc @@ -6,6 +6,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/file_util.h" #include "base/logging.h" #include "base/message_loop.h" diff --git a/chrome/browser/extensions/execute_code_in_tab_function.cc b/chrome/browser/extensions/execute_code_in_tab_function.cc index 46660cd..2443442 100644 --- a/chrome/browser/extensions/execute_code_in_tab_function.cc +++ b/chrome/browser/extensions/execute_code_in_tab_function.cc @@ -4,6 +4,7 @@ #include "chrome/browser/extensions/execute_code_in_tab_function.h" +#include "base/callback.h" #include "base/string_util.h" #include "chrome/browser/browser.h" #include "chrome/browser/extensions/extension_tabs_module.h" diff --git a/chrome/browser/extensions/extension_accessibility_api.h b/chrome/browser/extensions/extension_accessibility_api.h index afae039..3083b62 100644 --- a/chrome/browser/extensions/extension_accessibility_api.h +++ b/chrome/browser/extensions/extension_accessibility_api.h @@ -8,6 +8,7 @@ #include <string> #include <vector> +#include "base/callback.h" #include "base/singleton.h" #include "chrome/browser/extensions/extension_function.h" #include "chrome/common/accessibility_events.h" diff --git a/chrome/browser/extensions/extension_history_api.cc b/chrome/browser/extensions/extension_history_api.cc index 80897ad..c1808d5 100644 --- a/chrome/browser/extensions/extension_history_api.cc +++ b/chrome/browser/extensions/extension_history_api.cc @@ -4,6 +4,7 @@ #include "chrome/browser/extensions/extension_history_api.h" +#include "base/callback.h" #include "base/json/json_writer.h" #include "base/message_loop.h" #include "base/string_util.h" diff --git a/chrome/browser/extensions/extensions_ui.cc b/chrome/browser/extensions/extensions_ui.cc index 63c40a3..14ab20c 100644 --- a/chrome/browser/extensions/extensions_ui.cc +++ b/chrome/browser/extensions/extensions_ui.cc @@ -10,6 +10,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/base64.h" +#include "base/callback.h" #include "base/file_util.h" #include "base/string_util.h" #include "base/thread.h" diff --git a/chrome/browser/extensions/file_reader.h b/chrome/browser/extensions/file_reader.h index 7ca6309..97f6cc6 100644 --- a/chrome/browser/extensions/file_reader.h +++ b/chrome/browser/extensions/file_reader.h @@ -7,8 +7,8 @@ #include <string> +#include "base/callback.h" #include "base/ref_counted.h" -#include "base/task.h" #include "chrome/common/extensions/extension_resource.h" class MessageLoop; diff --git a/chrome/browser/extensions/file_reader_unittest.cc b/chrome/browser/extensions/file_reader_unittest.cc index bf16b71..dbe9ceb 100644 --- a/chrome/browser/extensions/file_reader_unittest.cc +++ b/chrome/browser/extensions/file_reader_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/callback.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/message_loop.h" diff --git a/chrome/browser/fav_icon_helper.cc b/chrome/browser/fav_icon_helper.cc index e2eaa77..eaa3eb3 100644 --- a/chrome/browser/fav_icon_helper.cc +++ b/chrome/browser/fav_icon_helper.cc @@ -8,6 +8,7 @@ #include "app/gfx/codec/png_codec.h" #include "app/gfx/favicon_size.h" +#include "base/callback.h" #include "chrome/browser/profile.h" #include "chrome/browser/renderer_host/render_view_host.h" #include "chrome/browser/tab_contents/navigation_controller.h" diff --git a/chrome/browser/fav_icon_helper.h b/chrome/browser/fav_icon_helper.h index 39c3991..e5e1b23 100644 --- a/chrome/browser/fav_icon_helper.h +++ b/chrome/browser/fav_icon_helper.h @@ -9,6 +9,7 @@ #include <vector> #include "base/basictypes.h" +#include "base/callback.h" #include "base/ref_counted_memory.h" #include "base/scoped_ptr.h" #include "chrome/browser/cancelable_request.h" diff --git a/chrome/browser/gears_integration.h b/chrome/browser/gears_integration.h index 31d22e7..33264a7 100644 --- a/chrome/browser/gears_integration.h +++ b/chrome/browser/gears_integration.h @@ -6,8 +6,8 @@ #define CHROME_BROWSER_GEARS_INTEGRATION_H__ #include "app/gfx/native_widget_types.h" +#include "base/callback.h" #include "base/string16.h" -#include "base/task.h" #include "chrome/common/gears_api.h" // TODO(michaeln): Rework this interface to match how other first class diff --git a/chrome/browser/gtk/accessibility_event_router_gtk.cc b/chrome/browser/gtk/accessibility_event_router_gtk.cc index c020721..f912fa7 100644 --- a/chrome/browser/gtk/accessibility_event_router_gtk.cc +++ b/chrome/browser/gtk/accessibility_event_router_gtk.cc @@ -5,6 +5,7 @@ #include "chrome/browser/gtk/accessibility_event_router_gtk.h" #include "base/basictypes.h" +#include "base/callback.h" #include "base/stl_util-inl.h" #include "chrome/browser/extensions/extension_accessibility_api.h" #include "chrome/browser/gtk/gtk_chrome_link_button.h" diff --git a/chrome/browser/gtk/download_item_gtk.cc b/chrome/browser/gtk/download_item_gtk.cc index 0a55aea..44c3d1a 100644 --- a/chrome/browser/gtk/download_item_gtk.cc +++ b/chrome/browser/gtk/download_item_gtk.cc @@ -13,6 +13,7 @@ #include "app/resource_bundle.h" #include "app/slide_animation.h" #include "base/basictypes.h" +#include "base/callback.h" #include "base/string_util.h" #include "base/time.h" #include "chrome/browser/browser.h" diff --git a/chrome/browser/gtk/list_store_favicon_loader.cc b/chrome/browser/gtk/list_store_favicon_loader.cc index a4995db..f9a4236 100644 --- a/chrome/browser/gtk/list_store_favicon_loader.cc +++ b/chrome/browser/gtk/list_store_favicon_loader.cc @@ -8,6 +8,7 @@ #include "app/gfx/codec/png_codec.h" #include "app/gfx/gtk_util.h" +#include "base/callback.h" #include "chrome/browser/gtk/gtk_theme_provider.h" #include "chrome/browser/profile.h" #include "third_party/skia/include/core/SkBitmap.h" diff --git a/chrome/browser/gtk/options/general_page_gtk.cc b/chrome/browser/gtk/options/general_page_gtk.cc index e00da54..1396314 100644 --- a/chrome/browser/gtk/options/general_page_gtk.cc +++ b/chrome/browser/gtk/options/general_page_gtk.cc @@ -5,6 +5,7 @@ #include "chrome/browser/gtk/options/general_page_gtk.h" #include "app/l10n_util.h" +#include "base/callback.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/gtk/keyword_editor_view.h" diff --git a/chrome/browser/gtk/options/url_picker_dialog_gtk.h b/chrome/browser/gtk/options/url_picker_dialog_gtk.h index ffd9b2d..7d21359 100644 --- a/chrome/browser/gtk/options/url_picker_dialog_gtk.h +++ b/chrome/browser/gtk/options/url_picker_dialog_gtk.h @@ -8,7 +8,7 @@ #include <string> #include "base/basictypes.h" -#include "base/task.h" +#include "base/callback.h" #include "chrome/browser/history/history.h" #include "chrome/common/gtk_tree.h" diff --git a/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc b/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc index 6513c0c..f153455 100644 --- a/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc +++ b/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc @@ -6,6 +6,7 @@ #include <algorithm> +#include "base/callback.h" #include "chrome/browser/browser.h" #include "chrome/browser/gtk/browser_window_gtk.h" #include "chrome/browser/gtk/tabs/dragged_tab_gtk.h" diff --git a/chrome/browser/gtk/tabs/dragged_tab_gtk.h b/chrome/browser/gtk/tabs/dragged_tab_gtk.h index 4ec77bf..dd24c1b 100644 --- a/chrome/browser/gtk/tabs/dragged_tab_gtk.h +++ b/chrome/browser/gtk/tabs/dragged_tab_gtk.h @@ -9,6 +9,7 @@ #include "app/gfx/canvas.h" #include "app/slide_animation.h" +#include "base/callback.h" #include "base/gfx/point.h" #include "base/gfx/rect.h" #include "base/gfx/size.h" diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc index fdf7901..71d48f0 100644 --- a/chrome/browser/history/history.cc +++ b/chrome/browser/history/history.cc @@ -25,6 +25,7 @@ #include "chrome/browser/history/history.h" #include "app/l10n_util.h" +#include "base/callback.h" #include "base/message_loop.h" #include "base/path_service.h" #include "base/ref_counted.h" diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index 33bdced..5d251c0 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -9,6 +9,7 @@ #include <vector> #include "base/basictypes.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/ref_counted.h" #include "base/scoped_ptr.h" diff --git a/chrome/browser/history/history_querying_unittest.cc b/chrome/browser/history/history_querying_unittest.cc index 3740fab..2f1d074 100644 --- a/chrome/browser/history/history_querying_unittest.cc +++ b/chrome/browser/history/history_querying_unittest.cc @@ -3,6 +3,7 @@ // found in the LICENSE file. #include "base/basictypes.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/path_service.h" diff --git a/chrome/browser/history/history_unittest.cc b/chrome/browser/history/history_unittest.cc index 9e28372..1cf7021 100644 --- a/chrome/browser/history/history_unittest.cc +++ b/chrome/browser/history/history_unittest.cc @@ -24,6 +24,7 @@ #include "app/sql/connection.h" #include "app/sql/statement.h" #include "base/basictypes.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/message_loop.h" diff --git a/chrome/browser/icon_manager.h b/chrome/browser/icon_manager.h index c09b94e..afb1802 100644 --- a/chrome/browser/icon_manager.h +++ b/chrome/browser/icon_manager.h @@ -49,6 +49,7 @@ #include <set> #include <string> +#include "base/callback.h" #include "base/hash_tables.h" #include "chrome/browser/cancelable_request.h" #include "chrome/browser/icon_loader.h" diff --git a/chrome/browser/jumplist.cc b/chrome/browser/jumplist.cc index e8d71d0..34ece2a 100644 --- a/chrome/browser/jumplist.cc +++ b/chrome/browser/jumplist.cc @@ -15,6 +15,7 @@ #include "app/gfx/codec/png_codec.h" #include "app/gfx/icon_util.h" #include "app/l10n_util.h" +#include "base/callback.h" #include "base/command_line.h" #include "base/file_util.h" #include "base/path_service.h" diff --git a/chrome/browser/mock_browsing_data_database_helper.cc b/chrome/browser/mock_browsing_data_database_helper.cc index 4e708a8..54e33f4 100644 --- a/chrome/browser/mock_browsing_data_database_helper.cc +++ b/chrome/browser/mock_browsing_data_database_helper.cc @@ -4,6 +4,8 @@ #include "chrome/browser/mock_browsing_data_database_helper.h" +#include "base/callback.h" + MockBrowsingDataDatabaseHelper::MockBrowsingDataDatabaseHelper( Profile* profile) : BrowsingDataDatabaseHelper(profile), diff --git a/chrome/browser/mock_browsing_data_database_helper.h b/chrome/browser/mock_browsing_data_database_helper.h index ea84d51..8e075db 100644 --- a/chrome/browser/mock_browsing_data_database_helper.h +++ b/chrome/browser/mock_browsing_data_database_helper.h @@ -7,6 +7,8 @@ #include <map> +#include "base/callback.h" + #include "chrome/browser/browsing_data_database_helper.h" // Mock for BrowsingDataDatabaseHelper. diff --git a/chrome/browser/mock_browsing_data_local_storage_helper.cc b/chrome/browser/mock_browsing_data_local_storage_helper.cc index f034203..bb6c0ce 100644 --- a/chrome/browser/mock_browsing_data_local_storage_helper.cc +++ b/chrome/browser/mock_browsing_data_local_storage_helper.cc @@ -4,6 +4,9 @@ #include "chrome/browser/mock_browsing_data_local_storage_helper.h" +#include "base/callback.h" +#include "base/logging.h" + MockBrowsingDataLocalStorageHelper::MockBrowsingDataLocalStorageHelper( Profile* profile) : BrowsingDataLocalStorageHelper(profile), diff --git a/chrome/browser/mock_browsing_data_local_storage_helper.h b/chrome/browser/mock_browsing_data_local_storage_helper.h index 89df123..9183310 100644 --- a/chrome/browser/mock_browsing_data_local_storage_helper.h +++ b/chrome/browser/mock_browsing_data_local_storage_helper.h @@ -7,6 +7,8 @@ #include <map> +#include "base/callback.h" + #include "chrome/browser/browsing_data_local_storage_helper.h" // Mock for BrowsingDataLocalStorageHelper. diff --git a/chrome/browser/page_info_model.cc b/chrome/browser/page_info_model.cc index 44090a5..1766824 100644 --- a/chrome/browser/page_info_model.cc +++ b/chrome/browser/page_info_model.cc @@ -5,6 +5,7 @@ #include "chrome/browser/page_info_model.h" #include "app/l10n_util.h" +#include "base/callback.h" #include "base/i18n/time_formatting.h" #include "chrome/browser/cert_store.h" #include "chrome/browser/profile.h" diff --git a/chrome/browser/possible_url_model.cc b/chrome/browser/possible_url_model.cc index 86e1f1e..2c85a99 100644 --- a/chrome/browser/possible_url_model.cc +++ b/chrome/browser/possible_url_model.cc @@ -8,6 +8,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/table_model_observer.h" +#include "base/callback.h" #include "chrome/browser/cancelable_request.h" #include "chrome/browser/favicon_service.h" #include "chrome/browser/profile.h" diff --git a/chrome/browser/renderer_host/render_view_host_notification_task.h b/chrome/browser/renderer_host/render_view_host_notification_task.h index 3093802..e5c791e 100644 --- a/chrome/browser/renderer_host/render_view_host_notification_task.h +++ b/chrome/browser/renderer_host/render_view_host_notification_task.h @@ -10,6 +10,7 @@ #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_NOTIFICATION_TASK_H_ #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_NOTIFICATION_TASK_H_ +#include "base/callback.h" #include "base/task.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/renderer_host/render_view_host.h" diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc index 71830f7..88109ae 100644 --- a/chrome/browser/renderer_host/resource_message_filter.cc +++ b/chrome/browser/renderer_host/resource_message_filter.cc @@ -6,6 +6,7 @@ #include "app/clipboard/clipboard.h" #include "app/gfx/native_widget_types.h" +#include "base/callback.h" #include "base/command_line.h" #include "base/file_util.h" #include "base/histogram.h" diff --git a/chrome/browser/renderer_host/resource_message_filter.h b/chrome/browser/renderer_host/resource_message_filter.h index 2712d48..f5068d9 100644 --- a/chrome/browser/renderer_host/resource_message_filter.h +++ b/chrome/browser/renderer_host/resource_message_filter.h @@ -14,6 +14,7 @@ #include "app/clipboard/clipboard.h" #include "app/gfx/native_widget_types.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/gfx/rect.h" #include "base/process.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_database.h b/chrome/browser/safe_browsing/safe_browsing_database.h index 5adc573..1fc5756 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database.h +++ b/chrome/browser/safe_browsing/safe_browsing_database.h @@ -10,9 +10,10 @@ #include <set> #include <vector> +#include "base/callback.h" #include "base/file_path.h" #include "base/scoped_ptr.h" -#include "base/task.h" +#include "base/time.h" #include "chrome/browser/safe_browsing/safe_browsing_util.h" #include "testing/gtest/include/gtest/gtest_prod.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc b/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc index d818881..a0e7fcc 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc +++ b/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc @@ -5,6 +5,7 @@ #include "chrome/browser/safe_browsing/safe_browsing_database_bloom.h" #include "base/auto_reset.h" +#include "base/callback.h" #include "base/file_util.h" #include "base/message_loop.h" #include "base/process_util.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_database_bloom.h b/chrome/browser/safe_browsing/safe_browsing_database_bloom.h index 449e76c..d8154dc 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_bloom.h +++ b/chrome/browser/safe_browsing/safe_browsing_database_bloom.h @@ -10,7 +10,9 @@ #include <string> #include <vector> +#include "base/callback.h" #include "base/lock.h" +#include "base/task.h" #include "chrome/browser/safe_browsing/safe_browsing_database.h" namespace base { diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc index 1c45b84..c19e4efc 100644 --- a/chrome/browser/safe_browsing/safe_browsing_service.cc +++ b/chrome/browser/safe_browsing/safe_browsing_service.cc @@ -5,6 +5,7 @@ #include "chrome/browser/safe_browsing/safe_browsing_service.h" +#include "base/callback.h" #include "base/path_service.h" #include "base/string_util.h" #include "chrome/browser/browser_process.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_store.h b/chrome/browser/safe_browsing/safe_browsing_store.h index 0d13e88..1d32e7d 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store.h +++ b/chrome/browser/safe_browsing/safe_browsing_store.h @@ -9,6 +9,7 @@ #include <vector> #include "base/basictypes.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/task.h" #include "base/time.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.cc b/chrome/browser/safe_browsing/safe_browsing_store_file.cc index ad494d9..0ae908f 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_file.cc +++ b/chrome/browser/safe_browsing/safe_browsing_store_file.cc @@ -4,6 +4,8 @@ #include "chrome/browser/safe_browsing/safe_browsing_store_file.h" +#include "base/callback.h" + namespace { // NOTE(shess): kFileMagic should not be a byte-wise palindrome, so diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.h b/chrome/browser/safe_browsing/safe_browsing_store_file.h index 25f6d9c..f7ef5de 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_file.h +++ b/chrome/browser/safe_browsing/safe_browsing_store_file.h @@ -10,6 +10,7 @@ #include "chrome/browser/safe_browsing/safe_browsing_store.h" +#include "base/callback.h" #include "base/file_util.h" // Implement SafeBrowsingStore in terms of a flat file. The file diff --git a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc index a5e7df7..a4fba23 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc +++ b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc @@ -4,6 +4,7 @@ #include "chrome/browser/safe_browsing/safe_browsing_store_sqlite.h" +#include "base/callback.h" #include "base/file_util.h" #include "chrome/common/sqlite_compiled_statement.h" #include "chrome/common/sqlite_utils.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h index 272ab56..4783c3e 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h +++ b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h @@ -8,6 +8,7 @@ #include <set> #include <vector> +#include "base/callback.h" #include "chrome/browser/safe_browsing/safe_browsing_store.h" #include "testing/gtest/include/gtest/gtest_prod.h" diff --git a/chrome/browser/search_engines/template_url_model_unittest.cc b/chrome/browser/search_engines/template_url_model_unittest.cc index 1b6f7ae..9865f5c 100644 --- a/chrome/browser/search_engines/template_url_model_unittest.cc +++ b/chrome/browser/search_engines/template_url_model_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/callback.h" #include "base/path_service.h" #include "base/string_util.h" #include "base/thread.h" diff --git a/chrome/browser/search_engines/template_url_table_model.cc b/chrome/browser/search_engines/template_url_table_model.cc index 5007758..c47ce9a 100644 --- a/chrome/browser/search_engines/template_url_table_model.cc +++ b/chrome/browser/search_engines/template_url_table_model.cc @@ -8,6 +8,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/table_model_observer.h" +#include "base/callback.h" #include "base/stl_util-inl.h" #include "chrome/browser/favicon_service.h" #include "chrome/browser/profile.h" diff --git a/chrome/browser/sessions/base_session_service.h b/chrome/browser/sessions/base_session_service.h index b311fd8..e6ba7d8 100644 --- a/chrome/browser/sessions/base_session_service.h +++ b/chrome/browser/sessions/base_session_service.h @@ -6,9 +6,9 @@ #define CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ #include "base/basictypes.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/ref_counted.h" -#include "base/task.h" #include "chrome/browser/cancelable_request.h" #include "chrome/browser/sessions/session_id.h" diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc index 58be396..0c819ac 100644 --- a/chrome/browser/sessions/session_restore.cc +++ b/chrome/browser/sessions/session_restore.cc @@ -6,6 +6,7 @@ #include <vector> +#include "base/callback.h" #include "base/command_line.h" #include "base/scoped_ptr.h" #include "base/stl_util-inl.h" diff --git a/chrome/browser/sessions/session_service.cc b/chrome/browser/sessions/session_service.cc index 73689d4..6c5b3d9 100644 --- a/chrome/browser/sessions/session_service.cc +++ b/chrome/browser/sessions/session_service.cc @@ -8,6 +8,7 @@ #include <limits> +#include "base/callback.h" #include "base/file_util.h" #include "base/message_loop.h" #include "base/pickle.h" diff --git a/chrome/browser/sessions/session_service.h b/chrome/browser/sessions/session_service.h index 940824e..018263e 100644 --- a/chrome/browser/sessions/session_service.h +++ b/chrome/browser/sessions/session_service.h @@ -8,6 +8,7 @@ #include <map> #include "base/basictypes.h" +#include "base/callback.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/defaults.h" diff --git a/chrome/browser/sessions/tab_restore_service.cc b/chrome/browser/sessions/tab_restore_service.cc index 68ccc10..47fe4e1 100644 --- a/chrome/browser/sessions/tab_restore_service.cc +++ b/chrome/browser/sessions/tab_restore_service.cc @@ -8,6 +8,7 @@ #include <iterator> #include <map> +#include "base/callback.h" #include "base/scoped_vector.h" #include "base/stl_util-inl.h" #include "chrome/browser/browser_list.h" diff --git a/chrome/browser/sync/engine/model_changing_syncer_command.cc b/chrome/browser/sync/engine/model_changing_syncer_command.cc index f6e9dad..2a0097d 100644 --- a/chrome/browser/sync/engine/model_changing_syncer_command.cc +++ b/chrome/browser/sync/engine/model_changing_syncer_command.cc @@ -4,6 +4,7 @@ #include "chrome/browser/sync/engine/model_changing_syncer_command.h" +#include "base/callback.h" #include "chrome/browser/sync/engine/model_safe_worker.h" #include "chrome/browser/sync/sessions/sync_session.h" #include "chrome/browser/sync/util/closure.h" diff --git a/chrome/browser/sync/engine/syncer_unittest.cc b/chrome/browser/sync/engine/syncer_unittest.cc index 80c909b..46969cc 100755 --- a/chrome/browser/sync/engine/syncer_unittest.cc +++ b/chrome/browser/sync/engine/syncer_unittest.cc @@ -12,6 +12,7 @@ #include "base/at_exit.h" +#include "base/callback.h" #include "base/scoped_ptr.h" #include "build/build_config.h" #include "chrome/browser/sync/engine/conflict_resolver.h" diff --git a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc index 4598d66..7c4f6d6 100644 --- a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc +++ b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc @@ -4,6 +4,7 @@ #include "testing/gtest/include/gtest/gtest.h" +#include "base/callback.h" #include "base/message_loop.h" #include "base/scoped_ptr.h" #include "base/task.h" diff --git a/chrome/browser/sync/glue/data_type_controller.h b/chrome/browser/sync/glue/data_type_controller.h index 00dbe5b..343dee9 100644 --- a/chrome/browser/sync/glue/data_type_controller.h +++ b/chrome/browser/sync/glue/data_type_controller.h @@ -7,7 +7,7 @@ #include <map> -#include "base/task.h" +#include "base/callback.h" #include "chrome/browser/sync/engine/model_safe_worker.h" #include "chrome/browser/sync/syncable/model_type.h" diff --git a/chrome/browser/sync/glue/database_model_worker_unittest.cc b/chrome/browser/sync/glue/database_model_worker_unittest.cc index 69ad5ce..48866c4 100644 --- a/chrome/browser/sync/glue/database_model_worker_unittest.cc +++ b/chrome/browser/sync/glue/database_model_worker_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/callback.h" #include "base/scoped_ptr.h" #include "base/thread.h" #include "base/timer.h" diff --git a/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc b/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc index 47f7cb6..f50487a 100644 --- a/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc +++ b/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc @@ -4,6 +4,7 @@ #include "testing/gtest/include/gtest/gtest.h" +#include "base/callback.h" #include "base/message_loop.h" #include "base/scoped_ptr.h" #include "base/task.h" diff --git a/chrome/browser/sync/glue/ui_model_worker_unittest.cc b/chrome/browser/sync/glue/ui_model_worker_unittest.cc index e90033d..bcbd87c 100644 --- a/chrome/browser/sync/glue/ui_model_worker_unittest.cc +++ b/chrome/browser/sync/glue/ui_model_worker_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/callback.h" #include "base/ref_counted.h" #include "base/thread.h" #include "chrome/browser/sync/engine/syncapi.h" diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc index 38ddc41..f0e663a 100644 --- a/chrome/browser/sync/profile_sync_service.cc +++ b/chrome/browser/sync/profile_sync_service.cc @@ -5,6 +5,7 @@ #include "chrome/browser/sync/profile_sync_service.h" #include "app/l10n_util.h" +#include "base/callback.h" #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" diff --git a/chrome/browser/sync/sync_setup_flow.cc b/chrome/browser/sync/sync_setup_flow.cc index 3029fb5..89cdab8a 100755 --- a/chrome/browser/sync/sync_setup_flow.cc +++ b/chrome/browser/sync/sync_setup_flow.cc @@ -6,6 +6,7 @@ #include "app/gfx/font.h" #include "app/gfx/font_util.h" +#include "base/callback.h" #include "base/histogram.h" #include "base/json/json_reader.h" #include "base/json/json_writer.h" diff --git a/chrome/browser/sync/util/closure.h b/chrome/browser/sync/util/closure.h index b282bc4..0e4389f 100644 --- a/chrome/browser/sync/util/closure.h +++ b/chrome/browser/sync/util/closure.h @@ -5,7 +5,7 @@ #ifndef CHROME_BROWSER_SYNC_UTIL_CLOSURE_H_ #define CHROME_BROWSER_SYNC_UTIL_CLOSURE_H_ -#include "base/task.h" +#include "base/callback.h" typedef CallbackRunner<Tuple0> Closure; diff --git a/chrome/browser/thumbnail_store.cc b/chrome/browser/thumbnail_store.cc index d23719f..a861e4a 100644 --- a/chrome/browser/thumbnail_store.cc +++ b/chrome/browser/thumbnail_store.cc @@ -11,6 +11,7 @@ #include "app/sql/statement.h" #include "app/sql/transaction.h" #include "base/basictypes.h" +#include "base/callback.h" #include "base/file_util.h" #include "base/md5.h" #include "base/string_util.h" diff --git a/chrome/browser/views/about_chrome_view.cc b/chrome/browser/views/about_chrome_view.cc index 544f033..ddea13a 100755 --- a/chrome/browser/views/about_chrome_view.cc +++ b/chrome/browser/views/about_chrome_view.cc @@ -10,6 +10,7 @@ #include "base/i18n/word_iterator.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/file_version_info.h" #include "base/utf_string_conversions.h" #include "chrome/browser/browser_list.h" diff --git a/chrome/browser/views/create_application_shortcut_view.cc b/chrome/browser/views/create_application_shortcut_view.cc index 63d55c9..0cb2b3d 100644 --- a/chrome/browser/views/create_application_shortcut_view.cc +++ b/chrome/browser/views/create_application_shortcut_view.cc @@ -8,6 +8,7 @@ #include "app/gfx/codec/png_codec.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "chrome/browser/profile.h" #include "chrome/browser/tab_contents/tab_contents.h" #include "chrome/browser/tab_contents/tab_contents_delegate.h" diff --git a/chrome/browser/views/download_item_view.cc b/chrome/browser/views/download_item_view.cc index 00d042d..ffacde7 100644 --- a/chrome/browser/views/download_item_view.cc +++ b/chrome/browser/views/download_item_view.cc @@ -12,6 +12,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/theme_provider.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/string_util.h" #include "base/sys_string_conversions.h" diff --git a/chrome/browser/views/options/general_page_view.cc b/chrome/browser/views/options/general_page_view.cc index fd3d589..7b60c24 100644 --- a/chrome/browser/views/options/general_page_view.cc +++ b/chrome/browser/views/options/general_page_view.cc @@ -8,6 +8,7 @@ #include "app/gfx/codec/png_codec.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/message_loop.h" #include "base/string_util.h" #include "chrome/browser/browser.h" diff --git a/chrome/browser/views/select_file_dialog.cc b/chrome/browser/views/select_file_dialog.cc index 6a439f5..a12d36f 100644 --- a/chrome/browser/views/select_file_dialog.cc +++ b/chrome/browser/views/select_file_dialog.cc @@ -5,6 +5,7 @@ #include "chrome/browser/shell_dialogs.h" #include "app/l10n_util.h" +#include "base/callback.h" #include "base/file_path.h" #include "base/json/json_reader.h" #include "base/scoped_ptr.h" diff --git a/chrome/browser/views/tabs/dragged_tab_controller.cc b/chrome/browser/views/tabs/dragged_tab_controller.cc index 576815f..c8c055f 100644 --- a/chrome/browser/views/tabs/dragged_tab_controller.cc +++ b/chrome/browser/views/tabs/dragged_tab_controller.cc @@ -12,6 +12,7 @@ #include "app/gfx/canvas.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/keyboard_codes.h" #include "chrome/browser/browser_window.h" #include "chrome/browser/extensions/extension_function_dispatcher.h" diff --git a/chrome/browser/views/tabs/dragged_tab_view.cc b/chrome/browser/views/tabs/dragged_tab_view.cc index 2f95971c..386cfef 100644 --- a/chrome/browser/views/tabs/dragged_tab_view.cc +++ b/chrome/browser/views/tabs/dragged_tab_view.cc @@ -5,6 +5,7 @@ #include "chrome/browser/views/tabs/dragged_tab_view.h" #include "app/gfx/canvas.h" +#include "base/callback.h" #include "chrome/browser/tab_contents/tab_contents.h" #include "chrome/browser/tabs/tab_strip_model.h" #include "chrome/browser/views/tabs/native_view_photobooth.h" diff --git a/chrome/browser/views/tabs/dragged_tab_view.h b/chrome/browser/views/tabs/dragged_tab_view.h index c640df3..6ae7df7 100644 --- a/chrome/browser/views/tabs/dragged_tab_view.h +++ b/chrome/browser/views/tabs/dragged_tab_view.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_VIEW_H_ #include "app/slide_animation.h" +#include "base/callback.h" #include "base/gfx/point.h" #include "base/gfx/size.h" #include "base/task.h" diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc index 97fcf2f..95186e9 100644 --- a/chrome/browser/web_applications/web_app.cc +++ b/chrome/browser/web_applications/web_app.cc @@ -8,6 +8,7 @@ #include <ShellAPI.h> #endif // defined(OS_WIN) +#include "base/callback.h" #include "base/file_util.h" #include "base/md5.h" #include "base/message_loop.h" diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h index 56f26b6..f5d7f431 100644 --- a/chrome/browser/web_applications/web_app.h +++ b/chrome/browser/web_applications/web_app.h @@ -5,8 +5,8 @@ #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ +#include "base/callback.h" #include "base/file_path.h" -#include "base/task.h" #include "chrome/browser/shell_integration.h" #include "webkit/glue/dom_operations.h" diff --git a/chrome/browser/worker_host/message_port_dispatcher.cc b/chrome/browser/worker_host/message_port_dispatcher.cc index 3592012..f6e2bbf 100644 --- a/chrome/browser/worker_host/message_port_dispatcher.cc +++ b/chrome/browser/worker_host/message_port_dispatcher.cc @@ -4,6 +4,7 @@ #include "chrome/browser/worker_host/message_port_dispatcher.h" +#include "base/callback.h" #include "base/singleton.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/renderer_host/resource_message_filter.h" diff --git a/chrome/browser/worker_host/message_port_dispatcher.h b/chrome/browser/worker_host/message_port_dispatcher.h index c722ac2..a6cff2a 100644 --- a/chrome/browser/worker_host/message_port_dispatcher.h +++ b/chrome/browser/worker_host/message_port_dispatcher.h @@ -10,6 +10,7 @@ #include <vector> #include "base/basictypes.h" +#include "base/callback.h" #include "base/singleton.h" #include "base/string16.h" #include "base/task.h" diff --git a/chrome/browser/worker_host/worker_process_host.cc b/chrome/browser/worker_host/worker_process_host.cc index f366b98..a0d75ef 100644 --- a/chrome/browser/worker_host/worker_process_host.cc +++ b/chrome/browser/worker_host/worker_process_host.cc @@ -7,6 +7,7 @@ #include <set> #include <vector> +#include "base/callback.h" #include "base/command_line.h" #include "base/debug_util.h" #include "base/message_loop.h" diff --git a/chrome/browser/worker_host/worker_process_host.h b/chrome/browser/worker_host/worker_process_host.h index 6d1df6d..4f7ecbd 100644 --- a/chrome/browser/worker_host/worker_process_host.h +++ b/chrome/browser/worker_host/worker_process_host.h @@ -8,7 +8,7 @@ #include <list> #include "base/basictypes.h" -#include "base/task.h" +#include "base/callback.h" #include "chrome/browser/worker_host/worker_document_set.h" #include "chrome/common/child_process_host.h" #include "googleurl/src/gurl.h" diff --git a/chrome/common/appcache/appcache_dispatcher_host.cc b/chrome/common/appcache/appcache_dispatcher_host.cc index bfbdd89..e2f1d11 100644 --- a/chrome/common/appcache/appcache_dispatcher_host.cc +++ b/chrome/common/appcache/appcache_dispatcher_host.cc @@ -4,6 +4,7 @@ #include "chrome/common/appcache/appcache_dispatcher_host.h" +#include "base/callback.h" #include "chrome/browser/renderer_host/browser_render_process_host.h" // TODO(eroman): uh oh, depending on stuff outside of common/ #include "chrome/browser/net/chrome_url_request_context.h" diff --git a/chrome/plugin/command_buffer_stub.cc b/chrome/plugin/command_buffer_stub.cc index 09f4cdb..e6f4b76 100644 --- a/chrome/plugin/command_buffer_stub.cc +++ b/chrome/plugin/command_buffer_stub.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/callback.h" #include "base/process_util.h" #include "base/shared_memory.h" #include "chrome/common/command_buffer_messages.h" diff --git a/chrome/renderer/media/audio_renderer_impl_unittest.cc b/chrome/renderer/media/audio_renderer_impl_unittest.cc index 5b823e8..12d0100 100644 --- a/chrome/renderer/media/audio_renderer_impl_unittest.cc +++ b/chrome/renderer/media/audio_renderer_impl_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/callback.h" #include "base/process_util.h" #include "chrome/common/render_messages.h" #include "chrome/renderer/media/audio_renderer_impl.h" diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index 953c734..14c57af 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -14,6 +14,7 @@ #include "app/l10n_util.h" #include "app/message_box_flags.h" #include "app/resource_bundle.h" +#include "base/callback.h" #include "base/command_line.h" #include "base/compiler_specific.h" #include "base/field_trial.h" |