|
Allow content layer to pass ProtocolInterceptors when we create URLRequestContext
Currently we pass protocol_handlers that belong to content layer
in StoragePartitionImplMap when we create URLRequestContexts for
storage partitions.
This patch also allows content layer to pass additional protocol
interceptors, so that content modules / web platform modules
(namely, ServiceWorker) can insert its own protocol interceptors.
*** Most changes are just for plumbing to pass through one more arg ***
* The additional protocol interceptors are created in:
content/browser/storage_partition_impl_map.cc
(where we also create protocol_handlers for content modules,
e.g. blob, filesystem etc)
* which is passed to: ChromeContentBrowserClient::CreateRequestContext
-> Profile -> ProfileIOData, and then
* chained to the URLJobFactory for a newly created
URLRequestContext in ProfileIOData::SetUpJobFactoryDefaults().
BUG= 349319
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256055
Total comments: 16
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+341 lines, -182 lines) |
Patch |
|
M |
android_webview/browser/aw_content_browser_client.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/aw_content_browser_client.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
apps/shell/browser/shell_content_browser_client.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
apps/shell/browser/shell_content_browser_client.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
ash/shell/content_client/shell_content_browser_client.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/shell/content_client/shell_content_browser_client.cc
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_content_browser_client.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/chrome_url_request_context.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/chrome_url_request_context.cc
|
View
|
1
2
|
6 chunks |
+24 lines, -14 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/off_the_record_profile_impl.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/off_the_record_profile_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/off_the_record_profile_io_data.h
|
View
|
1
2
3
4
|
4 chunks |
+19 lines, -13 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/off_the_record_profile_io_data.cc
|
View
|
1
2
|
9 chunks |
+26 lines, -14 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl_io_data.h
|
View
|
1
2
3
4
|
3 chunks |
+21 lines, -15 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl_io_data.cc
|
View
|
1
2
3
4
|
8 chunks |
+28 lines, -17 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_io_data.h
|
View
|
1
2
|
6 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_io_data.cc
|
View
|
1
2
3
4
|
5 chunks |
+27 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/app_list/test/fake_profile.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
4 comments
|
Download
|
|
M |
chrome/browser/ui/app_list/test/fake_profile.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/test/base/testing_profile.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/test/base/testing_profile.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl_map.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/public/browser/content_browser_client.h
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/public/browser/content_browser_client.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/shell_browser_context.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/shell_browser_context.cc
|
View
|
1
2
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/shell_content_browser_client.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/shell_content_browser_client.cc
|
View
|
1
2
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/shell_url_request_context_getter.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/shell_url_request_context_getter.cc
|
View
|
1
2
3
4
|
2 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/views/examples/content_client/examples_content_browser_client.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/views/examples/content_client/examples_content_browser_client.cc
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 28 (0 generated)
|