|
Decouple Cache Storage messaging from Service Worker/Embedded Worker
We plan to expose the Cache Storage API independent of Service Worker.
Tease the IPC message routing off of Service Worker and Embedded
Worker, mirroring the other context-independent storage APIs. With
this CL the browser side is independent but the renderer side entry
point is still only available to the SW's context. Files have been
left in the content/*/service_worker/ directories for now; follow-ups
will shorten the names and move them to dedicated directories.
BUG= 439389
Committed: https://crrev.com/abadb9bf3f02e61f3543ea62ade29a009b18e654
Cr-Commit-Position: refs/heads/master@{#321847}
Total comments: 11
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1141 lines, -483 lines) |
Patch |
|
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/service_worker/cache_storage_context_impl.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+87 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/service_worker/cache_storage_context_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+105 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/service_worker/cache_storage_dispatcher_host.h
|
View
|
1
2
3
4
5
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/service_worker/cache_storage_dispatcher_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/embedded_worker_test_helper.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_cache_listener.h
|
View
|
1
2
3
4
5
|
5 chunks |
+58 lines, -30 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_cache_listener.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
11 chunks |
+104 lines, -95 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_context_core.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_context_core.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
5 chunks |
+0 lines, -17 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_context_wrapper.h
|
View
|
1
2
3
4
|
4 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_context_wrapper.cc
|
View
|
1
2
3
4
|
6 chunks |
+0 lines, -23 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_registration_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_storage_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_version.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_version.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/browser/service_worker/service_worker_version_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+20 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl_map.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/common/content_message_generator.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
content/common/service_worker/cache_storage_messages.h
|
View
|
1
2
3
|
1 chunk |
+197 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/service_worker/service_worker_messages.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+0 lines, -133 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_common.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_thread_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/service_worker/cache_storage_message_filter.h
|
View
|
1
2
3
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/service_worker/cache_storage_message_filter.cc
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/service_worker/embedded_worker_context_client.h
|
View
|
1
2
3
4
5
6
7
8
9
11
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/service_worker/service_worker_cache_storage_dispatcher.h
|
View
|
1
2
3
|
5 chunks |
+85 lines, -45 lines |
0 comments
|
Download
|
|
M |
content/renderer/service_worker/service_worker_cache_storage_dispatcher.cc
|
View
|
1
2
3
|
20 chunks |
+133 lines, -49 lines |
0 comments
|
Download
|
|
M |
content/renderer/service_worker/service_worker_script_context.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/service_worker/service_worker_script_context.cc
|
View
|
1
2
3
4
5
6
7
8
11
|
3 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
A |
content/renderer/service_worker/webserviceworkercachestorage_impl.h
|
View
|
1
2
3
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/service_worker/webserviceworkercachestorage_impl.cc
|
View
|
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
M |
ipc/ipc_message_start.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 41 (6 generated)
|