diff options
author | kaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-22 02:16:44 +0000 |
---|---|---|
committer | kaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-22 02:16:44 +0000 |
commit | 01b654b4bbee5186b3e379bc2324e571a1c8c4fd (patch) | |
tree | 2132e78faee00b70e7a0c551da345d526dc7f476 | |
parent | 57d4066b07153ea621a44c5e6f20a29f732cee9b (diff) | |
download | chromium_src-01b654b4bbee5186b3e379bc2324e571a1c8c4fd.zip chromium_src-01b654b4bbee5186b3e379bc2324e571a1c8c4fd.tar.gz chromium_src-01b654b4bbee5186b3e379bc2324e571a1c8c4fd.tar.bz2 |
Move cancelable_request.cc/h to chrome/browser/common.
It is a commonly shared utility.
Also move "!chrome/browser/browser_process.h" to test section in bookmarks/DEPS
BUG=144783
Review URL: https://codereview.chromium.org/10958031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158151 0039d316-1c4b-4281-b951-d872f2087c98
59 files changed, 61 insertions, 63 deletions
diff --git a/chrome/browser/android/provider/chrome_browser_provider.h b/chrome/browser/android/provider/chrome_browser_provider.h index ef83655..384abf3 100644 --- a/chrome/browser/android/provider/chrome_browser_provider.h +++ b/chrome/browser/android/provider/chrome_browser_provider.h @@ -10,7 +10,7 @@ #include "base/memory/scoped_ptr.h" #include "base/synchronization/waitable_event.h" #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/android/android_history_types.h" #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index 4d9be2c..aa03918 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -24,7 +24,7 @@ #include "base/sequenced_task_runner_helpers.h" #include "base/string16.h" #include "chrome/browser/autofill/field_types.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/common/automation_constants.h" #include "chrome/common/content_settings.h" #include "content/public/browser/browser_thread.h" diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h index 98e7ed4..71f5041 100644 --- a/chrome/browser/automation/automation_provider_observers.h +++ b/chrome/browser/automation/automation_provider_observers.h @@ -32,7 +32,7 @@ #include "chrome/browser/chromeos/login/wizard_controller.h" #include "chrome/browser/chromeos/options/take_photo_dialog.h" #endif // defined(OS_CHROMEOS) -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/importer/importer_data_types.h" diff --git a/chrome/browser/bookmarks/DEPS b/chrome/browser/bookmarks/DEPS index 17670e3..eb16771 100644 --- a/chrome/browser/bookmarks/DEPS +++ b/chrome/browser/bookmarks/DEPS @@ -10,8 +10,6 @@ include_rules = [ # TODO(kaiwang): Bring this list to zero. # Do not add to the list of temporarily-allowed dependencies below, # and please do not introduce more #includes of these files. - "!chrome/browser/browser_process.h", - "!chrome/browser/cancelable_request.h", "!chrome/browser/extensions/event_router.h", "!chrome/browser/extensions/extension_function.h", "!chrome/browser/extensions/extension_function_dispatcher.h", @@ -56,6 +54,7 @@ specific_include_rules = { # Do not add to the list of temporarily-allowed dependencies below, # and please do not introduce more #includes of these files. '.*_[a-z]*test\.cc': [ + "!chrome/browser/browser_process.h", "!chrome/browser/extensions/extension_apitest.h", "!chrome/browser/history/in_memory_database.h", "!chrome/browser/importer/firefox2_importer.h", diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h index 5588625..954690a 100644 --- a/chrome/browser/bookmarks/bookmark_model.h +++ b/chrome/browser/bookmarks/bookmark_model.h @@ -17,7 +17,7 @@ #include "base/synchronization/lock.h" #include "base/synchronization/waitable_event.h" #include "chrome/browser/api/bookmarks/bookmark_service.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/favicon/favicon_service.h" #include "chrome/browser/history/history.h" #include "chrome/browser/profiles/profile_keyed_service.h" diff --git a/chrome/browser/browsing_data/browsing_data_remover.h b/chrome/browser/browsing_data/browsing_data_remover.h index 9e46dda..99c7a60 100644 --- a/chrome/browser/browsing_data/browsing_data_remover.h +++ b/chrome/browser/browsing_data/browsing_data_remover.h @@ -14,7 +14,7 @@ #include "base/synchronization/waitable_event_watcher.h" #include "base/time.h" #include "chrome/browser/api/prefs/pref_member.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/pepper_flash_settings_manager.h" #include "content/public/browser/dom_storage_context.h" #include "content/public/browser/notification_observer.h" diff --git a/chrome/browser/chrome_browser_main_linux.h b/chrome/browser/chrome_browser_main_linux.h index b968086..50e37a1 100644 --- a/chrome/browser/chrome_browser_main_linux.h +++ b/chrome/browser/chrome_browser_main_linux.h @@ -9,8 +9,8 @@ #include "base/compiler_specific.h" #include "base/memory/ref_counted.h" -#include "chrome/browser/cancelable_request.h" #include "chrome/browser/chrome_browser_main_posix.h" +#include "chrome/browser/common/cancelable_request.h" #if defined(OS_CHROMEOS) #include "chrome/browser/chromeos/version_loader.h" diff --git a/chrome/browser/chromeos/boot_times_loader.h b/chrome/browser/chromeos/boot_times_loader.h index ced90d2..691a44ff 100644 --- a/chrome/browser/chromeos/boot_times_loader.h +++ b/chrome/browser/chromeos/boot_times_loader.h @@ -12,7 +12,7 @@ #include "base/callback_forward.h" #include "base/compiler_specific.h" #include "base/time.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" #include "content/public/browser/render_widget_host.h" diff --git a/chrome/browser/chromeos/system/syslogs_provider.h b/chrome/browser/chromeos/system/syslogs_provider.h index a50aab7..0a2d4d8 100644 --- a/chrome/browser/chromeos/system/syslogs_provider.h +++ b/chrome/browser/chromeos/system/syslogs_provider.h @@ -8,7 +8,7 @@ #include <string> #include "base/callback.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" class CancelableRequestConsumerBase; diff --git a/chrome/browser/chromeos/system/timezone_settings.h b/chrome/browser/chromeos/system/timezone_settings.h index f009f81..ad2b92d 100644 --- a/chrome/browser/chromeos/system/timezone_settings.h +++ b/chrome/browser/chromeos/system/timezone_settings.h @@ -8,7 +8,7 @@ #include <vector> #include "base/string16.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "unicode/timezone.h" namespace chromeos { diff --git a/chrome/browser/chromeos/version_loader.h b/chrome/browser/chromeos/version_loader.h index 9f15619..c41f8e3 100644 --- a/chrome/browser/chromeos/version_loader.h +++ b/chrome/browser/chromeos/version_loader.h @@ -9,7 +9,7 @@ #include "base/callback.h" #include "base/gtest_prod_util.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" namespace chromeos { diff --git a/chrome/browser/cancelable_request.cc b/chrome/browser/common/cancelable_request.cc index 167a1df..39fb29a 100644 --- a/chrome/browser/cancelable_request.cc +++ b/chrome/browser/common/cancelable_request.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" CancelableRequestProvider::CancelableRequestProvider() : next_handle_(1) { diff --git a/chrome/browser/cancelable_request.h b/chrome/browser/common/cancelable_request.h index d54076e..a43e60b 100644 --- a/chrome/browser/cancelable_request.h +++ b/chrome/browser/common/cancelable_request.h @@ -85,8 +85,8 @@ // } // }; -#ifndef CHROME_BROWSER_CANCELABLE_REQUEST_H_ -#define CHROME_BROWSER_CANCELABLE_REQUEST_H_ +#ifndef CHROME_BROWSER_COMMON_CANCELABLE_REQUEST_H_ +#define CHROME_BROWSER_COMMON_CANCELABLE_REQUEST_H_ #include <map> #include <vector> @@ -1013,4 +1013,4 @@ class CancelableRequest1 : public CancelableRequest<CB> { virtual ~CancelableRequest1() {} }; -#endif // CHROME_BROWSER_CANCELABLE_REQUEST_H_ +#endif // CHROME_BROWSER_COMMON_CANCELABLE_REQUEST_H_ diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc index 5e378f3..b0f7552 100644 --- a/chrome/browser/download/download_browsertest.cc +++ b/chrome/browser/download/download_browsertest.cc @@ -17,7 +17,7 @@ #include "base/utf_string_conversions.h" #include "chrome/app/chrome_command_ids.h" #include "chrome/browser/browser_process.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/download/chrome_download_manager_delegate.h" #include "chrome/browser/download/download_crx_util.h" #include "chrome/browser/download/download_history.h" diff --git a/chrome/browser/download/download_history.h b/chrome/browser/download/download_history.h index b1f827b..1a831ed7 100644 --- a/chrome/browser/download/download_history.h +++ b/chrome/browser/download/download_history.h @@ -9,7 +9,7 @@ #include "base/basictypes.h" #include "base/callback.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" class Profile; diff --git a/chrome/browser/favicon/DEPS b/chrome/browser/favicon/DEPS index 7a7f2ca..0b044f2 100644 --- a/chrome/browser/favicon/DEPS +++ b/chrome/browser/favicon/DEPS @@ -4,6 +4,7 @@ # add to the list of exceptions! "-chrome/browser", "+chrome/browser/api", + "+chrome/browser/common", "+chrome/browser/favicon", # Permanently-allowed DEPS beyond the standard Browser @@ -16,7 +17,6 @@ # and please do not introduce more #includes of these files. "!chrome/browser/bookmarks/bookmark_model.h", "!chrome/browser/bookmarks/bookmark_model_factory.h", - "!chrome/browser/cancelable_request.h", "!chrome/browser/history/history.h", "!chrome/browser/history/history_backend.h", "!chrome/browser/history/history_service_factory.h", diff --git a/chrome/browser/favicon/favicon_handler.h b/chrome/browser/favicon/favicon_handler.h index 99defbd..bfd1d94 100644 --- a/chrome/browser/favicon/favicon_handler.h +++ b/chrome/browser/favicon/favicon_handler.h @@ -10,7 +10,7 @@ #include "base/basictypes.h" #include "base/callback_forward.h" #include "base/memory/ref_counted.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/favicon/favicon_service.h" #include "chrome/browser/favicon/favicon_tab_helper.h" #include "chrome/common/favicon_url.h" diff --git a/chrome/browser/favicon/favicon_service.h b/chrome/browser/favicon/favicon_service.h index c22ad1b..a41296d 100644 --- a/chrome/browser/favicon/favicon_service.h +++ b/chrome/browser/favicon/favicon_service.h @@ -9,7 +9,7 @@ #include "base/callback.h" #include "base/memory/ref_counted.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/profiles/profile_keyed_service.h" #include "chrome/common/ref_counted_util.h" diff --git a/chrome/browser/history/DEPS b/chrome/browser/history/DEPS index 166a409..7b470fc 100644 --- a/chrome/browser/history/DEPS +++ b/chrome/browser/history/DEPS @@ -22,7 +22,6 @@ include_rules = [ "!chrome/browser/bookmarks/bookmark_model.h", "!chrome/browser/bookmarks/bookmark_model_factory.h", "!chrome/browser/browser_process.h", - "!chrome/browser/cancelable_request.h", "!chrome/browser/chromeos/login/existing_user_controller.h", "!chrome/browser/diagnostics/sqlite_diagnostics.h", "!chrome/browser/extensions/event_router.h", diff --git a/chrome/browser/history/android/android_history_provider_service.h b/chrome/browser/history/android/android_history_provider_service.h index 1dca7b5..0700d09 100644 --- a/chrome/browser/history/android/android_history_provider_service.h +++ b/chrome/browser/history/android/android_history_provider_service.h @@ -7,7 +7,7 @@ #include "base/callback.h" #include "base/memory/ref_counted.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/android/android_history_types.h" #include "sql/statement.h" diff --git a/chrome/browser/history/android/sqlite_cursor.h b/chrome/browser/history/android/sqlite_cursor.h index f144397..f2b1bbf 100644 --- a/chrome/browser/history/android/sqlite_cursor.h +++ b/chrome/browser/history/android/sqlite_cursor.h @@ -14,7 +14,7 @@ #include "base/memory/scoped_ptr.h" #include "base/string16.h" #include "base/synchronization/waitable_event.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/favicon/favicon_service.h" #include "chrome/browser/history/android/android_history_provider_service.h" #include "chrome/browser/history/history_types.h" diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index e819434..b2daec0 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -16,7 +16,7 @@ #include "base/observer_list_threadsafe.h" #include "base/string16.h" #include "base/time.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/common/url_database/template_url_id.h" #include "chrome/browser/favicon/favicon_service.h" #include "chrome/browser/history/history_types.h" diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc index c7998d5..9f7b0d6 100644 --- a/chrome/browser/history/history_backend.cc +++ b/chrome/browser/history/history_backend.cc @@ -22,7 +22,7 @@ #include "base/utf_string_conversions.h" #include "chrome/browser/api/bookmarks/bookmark_service.h" #include "chrome/browser/autocomplete/history_url_provider.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history_notifications.h" #include "chrome/browser/history/history_publisher.h" #include "chrome/browser/history/in_memory_history_backend.h" diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h index 5e66b07..24c46fd 100644 --- a/chrome/browser/history/history_backend.h +++ b/chrome/browser/history/history_backend.h @@ -12,7 +12,7 @@ #include "base/gtest_prod_util.h" #include "base/memory/mru_cache.h" #include "base/memory/scoped_ptr.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/common/url_database/template_url_id.h" #include "chrome/browser/history/archived_database.h" #include "chrome/browser/history/expire_history_backend.h" diff --git a/chrome/browser/history/history_marshaling.h b/chrome/browser/history/history_marshaling.h index 3e6aee1..0248115 100644 --- a/chrome/browser/history/history_marshaling.h +++ b/chrome/browser/history/history_marshaling.h @@ -9,7 +9,7 @@ #define CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_H_ #include "base/memory/scoped_vector.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/favicon/favicon_service.h" #include "chrome/browser/history/history.h" #include "chrome/browser/history/page_usage_data.h" diff --git a/chrome/browser/history/history_marshaling_android.h b/chrome/browser/history/history_marshaling_android.h index 97dd4f0..235db75 100644 --- a/chrome/browser/history/history_marshaling_android.h +++ b/chrome/browser/history/history_marshaling_android.h @@ -8,7 +8,7 @@ #ifndef CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_ANDROID_H_ #define CHROME_BROWSER_HISTORY_HISTORY_MARSHALING_ANDROID_H_ -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/android/android_history_provider_service.h" namespace history { diff --git a/chrome/browser/history/in_memory_url_index.h b/chrome/browser/history/in_memory_url_index.h index 7bff098..17165a9 100644 --- a/chrome/browser/history/in_memory_url_index.h +++ b/chrome/browser/history/in_memory_url_index.h @@ -19,7 +19,7 @@ #include "base/string16.h" #include "chrome/browser/autocomplete/autocomplete_match.h" #include "chrome/browser/autocomplete/history_provider_util.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/history/in_memory_url_index_types.h" diff --git a/chrome/browser/history/top_sites.h b/chrome/browser/history/top_sites.h index 7f3253f..911f241 100644 --- a/chrome/browser/history/top_sites.h +++ b/chrome/browser/history/top_sites.h @@ -17,7 +17,7 @@ #include "base/synchronization/lock.h" #include "base/time.h" #include "base/timer.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/history/page_usage_data.h" diff --git a/chrome/browser/history/top_sites_backend.h b/chrome/browser/history/top_sites_backend.h index 5ddc592..9b2fd19 100644 --- a/chrome/browser/history/top_sites_backend.h +++ b/chrome/browser/history/top_sites_backend.h @@ -9,7 +9,7 @@ #include "base/file_path.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history_types.h" class FilePath; diff --git a/chrome/browser/history/top_sites_extension_api.h b/chrome/browser/history/top_sites_extension_api.h index db84ad6..c9cc8d0 100644 --- a/chrome/browser/history/top_sites_extension_api.h +++ b/chrome/browser/history/top_sites_extension_api.h @@ -5,7 +5,7 @@ #ifndef CHROME_BROWSER_HISTORY_TOP_SITES_EXTENSION_API_H_ #define CHROME_BROWSER_HISTORY_TOP_SITES_EXTENSION_API_H_ -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/extensions/extension_function.h" #include "chrome/browser/history/history_types.h" diff --git a/chrome/browser/icon_manager.h b/chrome/browser/icon_manager.h index 08f270b..f02b9aa 100644 --- a/chrome/browser/icon_manager.h +++ b/chrome/browser/icon_manager.h @@ -48,7 +48,7 @@ #include <map> #include "base/hash_tables.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/icon_loader.h" #include "ui/gfx/image/image.h" diff --git a/chrome/browser/jumplist_win.h b/chrome/browser/jumplist_win.h index c721011..b081ecf 100644 --- a/chrome/browser/jumplist_win.h +++ b/chrome/browser/jumplist_win.h @@ -12,7 +12,7 @@ #include "base/memory/ref_counted.h" #include "base/synchronization/lock.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/sessions/tab_restore_service.h" diff --git a/chrome/browser/page_info_model.h b/chrome/browser/page_info_model.h index a342c0a..1c933ce 100644 --- a/chrome/browser/page_info_model.h +++ b/chrome/browser/page_info_model.h @@ -8,7 +8,7 @@ #include <vector> #include "base/string16.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" #include "googleurl/src/gurl.h" #include "ui/gfx/image/image.h" diff --git a/chrome/browser/password_manager/password_store.h b/chrome/browser/password_manager/password_store.h index 5a261d0..7233d13 100644 --- a/chrome/browser/password_manager/password_store.h +++ b/chrome/browser/password_manager/password_store.h @@ -12,7 +12,7 @@ #include "base/observer_list.h" #include "base/threading/thread.h" #include "base/time.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/profiles/refcounted_profile_keyed_service.h" class PasswordStore; diff --git a/chrome/browser/password_manager/password_store_consumer.h b/chrome/browser/password_manager/password_store_consumer.h index a8156d7..7d2ab8d 100644 --- a/chrome/browser/password_manager/password_store_consumer.h +++ b/chrome/browser/password_manager/password_store_consumer.h @@ -5,7 +5,7 @@ #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CONSUMER_H_ #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CONSUMER_H_ -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" namespace webkit { namespace forms { diff --git a/chrome/browser/policy/device_status_collector.h b/chrome/browser/policy/device_status_collector.h index 744db3f..3ef3a24 100644 --- a/chrome/browser/policy/device_status_collector.h +++ b/chrome/browser/policy/device_status_collector.h @@ -12,7 +12,7 @@ #include "base/memory/weak_ptr.h" #include "base/time.h" #include "base/timer.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/chromeos/version_loader.h" #include "chrome/browser/idle.h" #include "content/public/browser/geolocation.h" diff --git a/chrome/browser/prerender/prerender_local_predictor.h b/chrome/browser/prerender/prerender_local_predictor.h index e1dcfc0..fd68bce 100644 --- a/chrome/browser/prerender/prerender_local_predictor.h +++ b/chrome/browser/prerender/prerender_local_predictor.h @@ -8,7 +8,7 @@ #include <vector> #include "base/timer.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/visit_database.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/prerender/prerender_manager.cc b/chrome/browser/prerender/prerender_manager.cc index e3fe796..90c52db 100644 --- a/chrome/browser/prerender/prerender_manager.cc +++ b/chrome/browser/prerender/prerender_manager.cc @@ -19,7 +19,7 @@ #include "base/utf_string_conversions.h" #include "base/values.h" #include "chrome/browser/browser_process.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/favicon/favicon_tab_helper.h" #include "chrome/browser/prerender/prerender_condition.h" #include "chrome/browser/prerender/prerender_contents.h" diff --git a/chrome/browser/safe_browsing/browser_feature_extractor.cc b/chrome/browser/safe_browsing/browser_feature_extractor.cc index b71dac0..368d318 100644 --- a/chrome/browser/safe_browsing/browser_feature_extractor.cc +++ b/chrome/browser/safe_browsing/browser_feature_extractor.cc @@ -13,7 +13,7 @@ #include "base/stl_util.h" #include "base/stringprintf.h" #include "base/time.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" #include "chrome/browser/history/history_service_factory.h" #include "chrome/browser/history/history_types.h" diff --git a/chrome/browser/safe_browsing/browser_feature_extractor.h b/chrome/browser/safe_browsing/browser_feature_extractor.h index 7b7fd38..6898c36 100644 --- a/chrome/browser/safe_browsing/browser_feature_extractor.h +++ b/chrome/browser/safe_browsing/browser_feature_extractor.h @@ -21,7 +21,7 @@ #include "base/memory/scoped_ptr.h" #include "base/sequenced_task_runner_helpers.h" #include "base/time.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/safe_browsing/safe_browsing_service.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/sessions/base_session_service.h b/chrome/browser/sessions/base_session_service.h index ce0253d..63808f2 100644 --- a/chrome/browser/sessions/base_session_service.h +++ b/chrome/browser/sessions/base_session_service.h @@ -12,7 +12,7 @@ #include "base/location.h" #include "base/memory/ref_counted.h" #include "base/memory/weak_ptr.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/profiles/profile_keyed_service.h" #include "chrome/browser/sessions/session_id.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/sync/glue/history_model_worker.h b/chrome/browser/sync/glue/history_model_worker.h index 10fe14d..73849a1 100644 --- a/chrome/browser/sync/glue/history_model_worker.h +++ b/chrome/browser/sync/glue/history_model_worker.h @@ -11,7 +11,7 @@ #include "base/callback_forward.h" #include "base/compiler_specific.h" #include "base/memory/ref_counted.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" class HistoryService; diff --git a/chrome/browser/sync/glue/typed_url_data_type_controller.h b/chrome/browser/sync/glue/typed_url_data_type_controller.h index def7ebd..258a7c2 100644 --- a/chrome/browser/sync/glue/typed_url_data_type_controller.h +++ b/chrome/browser/sync/glue/typed_url_data_type_controller.h @@ -10,7 +10,7 @@ #include "base/compiler_specific.h" #include "base/memory/ref_counted.h" #include "chrome/browser/api/prefs/pref_change_registrar.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/sync/glue/non_frontend_data_type_controller.h" #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" diff --git a/chrome/browser/sync/test/integration/typed_urls_helper.cc b/chrome/browser/sync/test/integration/typed_urls_helper.cc index b0a3897..97f86fe 100644 --- a/chrome/browser/sync/test/integration/typed_urls_helper.cc +++ b/chrome/browser/sync/test/integration/typed_urls_helper.cc @@ -8,7 +8,7 @@ #include "base/synchronization/waitable_event.h" #include "base/time.h" #include "base/utf_string_conversions.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" #include "chrome/browser/history/history_backend.h" #include "chrome/browser/history/history_service_factory.h" diff --git a/chrome/browser/ui/cocoa/download/download_item_mac.h b/chrome/browser/ui/cocoa/download/download_item_mac.h index 2403ac5..2fea76e 100644 --- a/chrome/browser/ui/cocoa/download/download_item_mac.h +++ b/chrome/browser/ui/cocoa/download/download_item_mac.h @@ -9,7 +9,7 @@ #include "base/memory/scoped_nsobject.h" #include "base/memory/scoped_ptr.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/icon_manager.h" #include "content/public/browser/download_item.h" #include "content/public/browser/download_manager.h" diff --git a/chrome/browser/ui/cocoa/history_menu_bridge.h b/chrome/browser/ui/cocoa/history_menu_bridge.h index 10a5cff..fe62e7b 100644 --- a/chrome/browser/ui/cocoa/history_menu_bridge.h +++ b/chrome/browser/ui/cocoa/history_menu_bridge.h @@ -11,7 +11,7 @@ #include "base/memory/ref_counted.h" #include "base/memory/scoped_nsobject.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #import "chrome/browser/favicon/favicon_service.h" #include "chrome/browser/history/history.h" #include "chrome/browser/sessions/session_id.h" diff --git a/chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm b/chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm index e80eacb..f6aa719 100644 --- a/chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm +++ b/chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm @@ -11,7 +11,7 @@ #include "base/sys_string_conversions.h" #include "base/utf_string_conversions.h" #include "chrome/app/chrome_command_ids.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/sessions/session_types_test_helper.h" #include "chrome/browser/sessions/tab_restore_service.h" #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" diff --git a/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc b/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc index db27dae..fedd8ac 100644 --- a/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc +++ b/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc @@ -7,7 +7,7 @@ #include "base/string16.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" #include "chrome/browser/history/history_service_factory.h" #include "chrome/browser/profiles/profile.h" diff --git a/chrome/browser/ui/gtk/global_history_menu.h b/chrome/browser/ui/gtk/global_history_menu.h index 51685b1..ccb5a8c 100644 --- a/chrome/browser/ui/gtk/global_history_menu.h +++ b/chrome/browser/ui/gtk/global_history_menu.h @@ -8,7 +8,7 @@ #include <map> #include "base/compiler_specific.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/sessions/tab_restore_service.h" #include "chrome/browser/sessions/tab_restore_service_observer.h" diff --git a/chrome/browser/ui/views/download/download_item_view.h b/chrome/browser/ui/views/download/download_item_view.h index fe6aee0..c2d62e0 100644 --- a/chrome/browser/ui/views/download/download_item_view.h +++ b/chrome/browser/ui/views/download/download_item_view.h @@ -24,7 +24,7 @@ #include "base/string_util.h" #include "base/time.h" #include "base/timer.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/icon_manager.h" #include "content/public/browser/download_item.h" #include "content/public/browser/download_manager.h" diff --git a/chrome/browser/ui/website_settings/website_settings.h b/chrome/browser/ui/website_settings/website_settings.h index 0ff229c..2c43bb9 100644 --- a/chrome/browser/ui/website_settings/website_settings.h +++ b/chrome/browser/ui/website_settings/website_settings.h @@ -8,7 +8,7 @@ #include "base/memory/scoped_ptr.h" #include "base/string16.h" #include "base/time.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/content_settings/tab_specific_content_settings.h" #include "chrome/browser/history/history.h" #include "chrome/common/content_settings.h" diff --git a/chrome/browser/ui/webui/history_ui.h b/chrome/browser/ui/webui/history_ui.h index 5a7d22c..7a6699c 100644 --- a/chrome/browser/ui/webui/history_ui.h +++ b/chrome/browser/ui/webui/history_ui.h @@ -8,7 +8,7 @@ #include <string> #include "base/string16.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history.h" #include "chrome/browser/ui/webui/chrome_url_data_manager.h" #include "content/public/browser/notification_registrar.h" diff --git a/chrome/browser/ui/webui/ntp/android/bookmarks_handler.h b/chrome/browser/ui/webui/ntp/android/bookmarks_handler.h index 6cce36d..e7f82c9 100644 --- a/chrome/browser/ui/webui/ntp/android/bookmarks_handler.h +++ b/chrome/browser/ui/webui/ntp/android/bookmarks_handler.h @@ -7,7 +7,7 @@ #include "base/values.h" #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/favicon/favicon_service.h" #include "chrome/browser/ui/webui/ntp/android/partner_bookmarks_shim.h" #include "content/public/browser/web_ui_message_handler.h" diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.h b/chrome/browser/ui/webui/ntp/app_launcher_handler.h index 93fee067..ecb7cd5 100644 --- a/chrome/browser/ui/webui/ntp/app_launcher_handler.h +++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.h @@ -9,7 +9,7 @@ #include "base/memory/scoped_ptr.h" #include "chrome/browser/api/prefs/pref_change_registrar.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/extensions/extension_install_prompt.h" #include "chrome/browser/extensions/extension_uninstall_dialog.h" #include "chrome/browser/favicon/favicon_service.h" diff --git a/chrome/browser/ui/webui/ntp/most_visited_handler.h b/chrome/browser/ui/webui/ntp/most_visited_handler.h index 5dead2d..cff3820 100644 --- a/chrome/browser/ui/webui/ntp/most_visited_handler.h +++ b/chrome/browser/ui/webui/ntp/most_visited_handler.h @@ -8,7 +8,7 @@ #include <string> #include <vector> -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history_types.h" #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" diff --git a/chrome/browser/ui/webui/ntp/suggestions_page_handler.h b/chrome/browser/ui/webui/ntp/suggestions_page_handler.h index d034bfc..fc1b09d 100644 --- a/chrome/browser/ui/webui/ntp/suggestions_page_handler.h +++ b/chrome/browser/ui/webui/ntp/suggestions_page_handler.h @@ -7,7 +7,7 @@ #include <string> -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" #include "content/public/browser/notification_observer.h" diff --git a/chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h b/chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h index 4c8cca2..4541045 100644 --- a/chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h +++ b/chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h @@ -8,7 +8,7 @@ #include <deque> #include "base/basictypes.h" -#include "chrome/browser/cancelable_request.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/history/visit_filter.h" #include "chrome/browser/ui/webui/ntp/suggestions_source.h" diff --git a/chrome/browser/ui/webui/options/certificate_manager_handler.h b/chrome/browser/ui/webui/options/certificate_manager_handler.h index be12ad5..f449ff4 100644 --- a/chrome/browser/ui/webui/options/certificate_manager_handler.h +++ b/chrome/browser/ui/webui/options/certificate_manager_handler.h @@ -10,8 +10,8 @@ #include "base/compiler_specific.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" -#include "chrome/browser/cancelable_request.h" #include "chrome/browser/certificate_manager_model.h" +#include "chrome/browser/common/cancelable_request.h" #include "chrome/browser/ui/webui/options/options_ui.h" #include "net/base/nss_cert_database.h" #include "ui/base/dialogs/select_file_dialog.h" diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 99eec28..51ddce0 100644 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -423,8 +423,6 @@ 'browser/feedback/feedback_data.h', 'browser/feedback/feedback_util.cc', 'browser/feedback/feedback_util.h', - 'browser/cancelable_request.cc', - 'browser/cancelable_request.h', 'browser/captive_portal/captive_portal_login_detector.cc', 'browser/captive_portal/captive_portal_login_detector.h', 'browser/captive_portal/captive_portal_service.cc', @@ -481,6 +479,8 @@ 'browser/command_observer.h', 'browser/command_updater.cc', 'browser/command_updater.h', + 'browser/common/cancelable_request.cc', + 'browser/common/cancelable_request.h', 'browser/common/url_database/template_url_id.h', 'browser/common/url_database/url_database.cc', 'browser/common/url_database/url_database.h', |