|
Remove ContentBrowserClient::CreateRequestContext & CreateRequestContextForStoragePartition.
The various implementations just delegate to the BrowserContext to create the request context, so these should just be on BrowserContext directly. The main motivator is to remove BrowserContext::GetRequestContext, which depends on this change since in tests the default ContentBrowserClient doesn't know which BrowserContext implementation is used.
GetRequestContext duplicates BrowserContext::GetDefaultStoragePartition(browser_context)->GetURLRequestContext().
BUG= 159193
NOPRESUBMIT=true
Committed: https://crrev.com/547f267cbb9baac850a63e01cdb063448538b6f4
Cr-Commit-Position: refs/heads/master@{#385855}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+308 lines, -480 lines) |
Patch |
 |
M |
android_webview/browser/aw_browser_context.h
|
View
|
|
2 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/aw_browser_context.cc
|
View
|
|
2 chunks |
+24 lines, -24 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/aw_content_browser_client.h
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/aw_content_browser_client.cc
|
View
|
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/net/aw_url_request_context_getter.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/content/client/shell_content_browser_client.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/shell/content/client/shell_content_browser_client.cc
|
View
|
|
2 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_content_browser_client.h
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_content_browser_client.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_url_request_context_getter.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/common/blimp_browser_context.h
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/common/blimp_browser_context.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+25 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.h
|
View
|
1
2
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile.h
|
View
|
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.h
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
|
3 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/test/fake_profile.h
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/test/fake_profile.cc
|
View
|
|
2 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.h
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.cc
|
View
|
|
3 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/cast_browser_context.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/cast_browser_context.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/cast_content_browser_client.h
|
View
|
1
2
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/cast_content_browser_client.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/url_request_context_factory.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/download/download_manager_impl_unittest.cc
|
View
|
1
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/storage_partition_impl_map.cc
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/browser_context.h
|
View
|
1
|
3 chunks |
+29 lines, -0 lines |
2 comments
|
Download
|
 |
M |
content/public/browser/content_browser_client.h
|
View
|
1
2
|
4 chunks |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/content_browser_client.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/public/test/test_browser_context.h
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/test_browser_context.cc
|
View
|
1
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_browser_context.h
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_content_browser_client.h
|
View
|
1
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_content_browser_client.cc
|
View
|
|
2 chunks |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_url_request_context_getter.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_browser_context.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_browser_context.cc
|
View
|
1
2
3
|
3 chunks |
+21 lines, -5 lines |
1 comment
|
Download
|
 |
M |
extensions/shell/browser/shell_browser_main_parts.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_content_browser_client.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_content_browser_client.cc
|
View
|
|
1 chunk |
+2 lines, -19 lines |
0 comments
|
Download
|
 |
M |
headless/lib/browser/headless_browser_context.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
headless/lib/browser/headless_browser_context.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+25 lines, -5 lines |
0 comments
|
Download
|
 |
M |
headless/lib/browser/headless_content_browser_client.h
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
headless/lib/browser/headless_content_browser_client.cc
|
View
|
|
2 chunks |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
M |
headless/lib/browser/headless_url_request_context_getter.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views_content_client/views_content_browser_client.h
|
View
|
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/views_content_client/views_content_browser_client.cc
|
View
|
|
2 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
Total messages: 15 (8 generated)
|