|
[headless]
Public API changes:
- [incompatible] Removed default browser context from HeadlessBrowser and HeadlessBrowser::CreateWebContents methods. Now BrowserContext should be created explicitly.
- [incompatible] ProtocolHandlers cannot be set in HeadlessBrowser::Options due to being move-only and not reusable across different BrowserContexts.
- Added more configurable options to HeadlessBrowserContext.
- Now user data directory can be set.
- HeadlessBrowser::Shutdown now closes all WebContents.
- All WebContents associated with a HeadlessBrowserContext are now deleted when user deletes a BrowserContext.
Internal library changes:
- Added HeadlessBrowserContextOptions class, allowing for more customization for BrowserContext and for fallback to default browser-wide settings from HeadlessBrowser::Options.
- Removed SetOptionsForTesting. Now BrowserContext should be created for this purposes.
Misc:
- Made linter happy.
BUG= 546953, 624837
Committed: https://crrev.com/93a0240a75dafc41691457d253e090ac4d66506e
Cr-Commit-Position: refs/heads/master@{#409527}
Total comments: 6
Total comments: 35
Total comments: 7
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+902 lines, -466 lines) |
Patch |
|
M |
headless/BUILD.gn
|
View
|
1
|
3 chunks |
+123 lines, -184 lines |
0 comments
|
Download
|
|
M |
headless/app/headless_shell.cc
|
View
|
1
|
5 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
headless/app/headless_shell_switches.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
headless/app/headless_shell_switches.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_browser_context_impl.h
|
View
|
1
2
3
4
5
|
2 chunks |
+24 lines, -6 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_browser_context_impl.cc
|
View
|
1
2
3
4
|
7 chunks |
+103 lines, -20 lines |
0 comments
|
Download
|
|
A |
headless/lib/browser/headless_browser_context_options.h
|
View
|
1
2
3
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
headless/lib/browser/headless_browser_context_options.cc
|
View
|
1
2
3
4
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_browser_impl.h
|
View
|
1
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_browser_impl.cc
|
View
|
1
2
3
|
6 chunks |
+39 lines, -34 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_browser_main_parts.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_browser_main_parts.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -9 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_content_browser_client.cc
|
View
|
1
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_devtools.h
|
View
|
1
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_devtools.cc
|
View
|
1
|
4 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_devtools_manager_delegate.h
|
View
|
1
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_devtools_manager_delegate.cc
|
View
|
1
2
3
|
4 chunks |
+27 lines, -13 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_url_request_context_getter.h
|
View
|
1
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_url_request_context_getter.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_web_contents_impl.h
|
View
|
1
|
4 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
|
M |
headless/lib/browser/headless_web_contents_impl.cc
|
View
|
1
2
3
|
9 chunks |
+42 lines, -29 lines |
0 comments
|
Download
|
|
M |
headless/lib/embedder_mojo_browsertest.cc
|
View
|
1
2
3
|
4 chunks |
+15 lines, -21 lines |
0 comments
|
Download
|
|
M |
headless/lib/headless_browser_browsertest.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+117 lines, -34 lines |
0 comments
|
Download
|
|
M |
headless/lib/headless_browser_context_browsertest.cc
|
View
|
1
|
5 chunks |
+41 lines, -10 lines |
0 comments
|
Download
|
|
M |
headless/lib/headless_devtools_client_browsertest.cc
|
View
|
1
2
3
|
2 chunks |
+69 lines, -0 lines |
0 comments
|
Download
|
|
M |
headless/lib/headless_web_contents_browsertest.cc
|
View
|
1
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
headless/public/headless_browser.h
|
View
|
1
2
3
4
5
6
|
6 chunks |
+33 lines, -30 lines |
1 comment
|
Download
|
|
M |
headless/public/headless_browser.cc
|
View
|
1
2
3
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
headless/public/headless_browser_context.h
|
View
|
1
2
3
4
5
|
5 chunks |
+28 lines, -4 lines |
0 comments
|
Download
|
|
M |
headless/public/headless_web_contents.h
|
View
|
1
2
3
|
5 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
|
M |
headless/test/headless_browser_test.h
|
View
|
1
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
headless/test/headless_browser_test.cc
|
View
|
1
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
Total messages: 25 (9 generated)
|