Rename ProtocolInterceptJobFactory and make it not use ProtocolHandlers.
commit3b90aab39f6ce8b1319d34cbf00795e707d37ddc
authormmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 30 May 2014 17:56:15 +0000 (30 17:56 +0000)
committermmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 30 May 2014 17:56:15 +0000 (30 17:56 +0000)
treeebfec4af454f844188c59dbd94fedb60dc7db3c2
parentd8a4aec8579e3cf78af5bfc16616287a109148fb
Rename ProtocolInterceptJobFactory and make it not use ProtocolHandlers.

ProtocolHandlers are intended to handle all requests for a particular
scheme, while UrlRequestInterceptors are intended to sit in front of
ProtocolHandlers, and optionally take over handling of any request,
regardless of scheme.

Separating the classes removes some ambiguity and weirdness,
particularly when passing a bunch of interceptors all over the place
from content/ to chrome/ during initialization.

BUG=373800

Review URL: https://codereview.chromium.org/282103004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273874 0039d316-1c4b-4281-b951-d872f2087c98
53 files changed:
android_webview/browser/aw_content_browser_client.cc
android_webview/browser/aw_content_browser_client.h
android_webview/browser/aw_request_interceptor.cc
android_webview/browser/aw_request_interceptor.h
android_webview/browser/net/aw_url_request_context_getter.cc
android_webview/browser/net/init_native_callback.h
android_webview/native/android_protocol_handler.cc
android_webview/native/android_protocol_handler.h
android_webview/native/net_init_native_callback.cc
apps/shell/browser/shell_content_browser_client.cc
apps/shell/browser/shell_content_browser_client.h
ash/shell/content_client/shell_content_browser_client.cc
ash/shell/content_client/shell_content_browser_client.h
chrome/browser/chrome_content_browser_client.cc
chrome/browser/chrome_content_browser_client.h
chrome/browser/net/chrome_url_request_context.cc
chrome/browser/net/chrome_url_request_context.h
chrome/browser/profiles/off_the_record_profile_impl.cc
chrome/browser/profiles/off_the_record_profile_impl.h
chrome/browser/profiles/off_the_record_profile_io_data.cc
chrome/browser/profiles/off_the_record_profile_io_data.h
chrome/browser/profiles/profile.h
chrome/browser/profiles/profile_impl.cc
chrome/browser/profiles/profile_impl.h
chrome/browser/profiles/profile_impl_io_data.cc
chrome/browser/profiles/profile_impl_io_data.h
chrome/browser/profiles/profile_io_data.cc
chrome/browser/profiles/profile_io_data.h
chrome/browser/ui/app_list/test/fake_profile.cc
chrome/browser/ui/app_list/test/fake_profile.h
chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
chrome/test/base/testing_profile.cc
chrome/test/base/testing_profile.h
content/browser/service_worker/service_worker_request_handler.cc
content/browser/service_worker/service_worker_request_handler.h
content/browser/storage_partition_impl_map.cc
content/public/browser/content_browser_client.cc
content/public/browser/content_browser_client.h
content/shell/browser/shell_browser_context.cc
content/shell/browser/shell_browser_context.h
content/shell/browser/shell_content_browser_client.cc
content/shell/browser/shell_content_browser_client.h
content/shell/browser/shell_url_request_context_getter.cc
content/shell/browser/shell_url_request_context_getter.h
net/net.gypi
net/url_request/protocol_intercept_job_factory.cc [deleted file]
net/url_request/protocol_intercept_job_factory.h [deleted file]
net/url_request/url_request_intercepting_job_factory.cc [new file with mode: 0644]
net/url_request/url_request_intercepting_job_factory.h [new file with mode: 0644]
net/url_request/url_request_interceptor.cc [new file with mode: 0644]
net/url_request/url_request_interceptor.h [new file with mode: 0644]
ui/views_content_client/views_content_browser_client.cc
ui/views_content_client/views_content_browser_client.h