|
Refactor navigator.connect code to make it more flexible.
This separates out all the service worker specific code from the generic
connection handling. As well as exposing some API in content/public so
code outside of content/ can handle connections.
This is the first step in making it possible to have chrome extensions,
or other code outside of content/ be the endpoint of a connection.
This doesn't change any functionality, it just moves code around.
BUG= 426458
Committed: https://crrev.com/59114f60cc27b7ceefbb2d85a288b0dd1134df10
Cr-Commit-Position: refs/heads/master@{#313185}
Total comments: 13
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+383 lines, -587 lines) |
Patch |
|
D |
content/browser/navigator_connect/navigator_connect_context.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -66 lines |
0 comments
|
Download
|
|
D |
content/browser/navigator_connect/navigator_connect_context.cc
|
View
|
|
1 chunk |
+0 lines, -91 lines |
0 comments
|
Download
|
|
A + |
content/browser/navigator_connect/navigator_connect_context_impl.h
|
View
|
1
2
3
|
1 chunk |
+30 lines, -42 lines |
0 comments
|
Download
|
|
A + |
content/browser/navigator_connect/navigator_connect_context_impl.cc
|
View
|
1
2
3
|
1 chunk |
+39 lines, -69 lines |
0 comments
|
Download
|
|
M |
content/browser/navigator_connect/navigator_connect_dispatcher_host.h
|
View
|
1
2
|
3 chunks |
+6 lines, -23 lines |
0 comments
|
Download
|
|
M |
content/browser/navigator_connect/navigator_connect_dispatcher_host.cc
|
View
|
1
2
|
2 chunks |
+9 lines, -55 lines |
0 comments
|
Download
|
|
A + |
content/browser/navigator_connect/navigator_connect_service_worker_service_factory.h
|
View
|
1
2
3
4
|
1 chunk |
+29 lines, -40 lines |
0 comments
|
Download
|
|
A + |
content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc
|
View
|
1
2
3
|
2 chunks |
+143 lines, -40 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
|
3 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_version.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_version.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl.h
|
View
|
1
2
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl.cc
|
View
|
1
2
|
4 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl_map.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/child/navigator_connect/navigator_connect_provider.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/common/navigator_connect_messages.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
D |
content/common/navigator_connect_types.h
|
View
|
|
1 chunk |
+0 lines, -29 lines |
0 comments
|
Download
|
|
D |
content/common/navigator_connect_types.cc
|
View
|
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
|
M |
content/common/service_worker/service_worker_messages.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
3
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/content_common.gypi
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/public/browser/content_browser_client.h
|
View
|
1
2
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A + |
content/public/browser/navigator_connect_context.h
|
View
|
1
2
3
|
1 chunk |
+20 lines, -31 lines |
0 comments
|
Download
|
|
A + |
content/public/browser/navigator_connect_service_factory.h
|
View
|
1
2
3
|
1 chunk |
+31 lines, -26 lines |
0 comments
|
Download
|
|
A + |
content/public/common/navigator_connect_client.h
|
View
|
1
|
1 chunk |
+16 lines, -12 lines |
0 comments
|
Download
|
|
A + |
content/public/common/navigator_connect_client.cc
|
View
|
1
|
1 chunk |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/renderer/service_worker/service_worker_script_context.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/service_worker/service_worker_script_context.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 20 (10 generated)
|