|
|
EmbeddedWorker, browser side code
Adding two new classes, EmbeddedWorkerRegistry and EmbeddedWorkerInstance.
Technically they can be implemented within ServiceWorkerContextCore and
ServiceWorkerVersion, but here I wrote them in separate classes for logical
separation.
* EmbeddedWorkerRegistry
-- Hangs off the ServiceWorkerContextCore
-- Acts as a stub between MessageFilter and each EmbeddedWorkerInstance
-- Sends/receives messages to/from each EmbeddedWorker in child process
-- Mostly talks only with MessageFilter and EmbeddedWorkerInstance
* EmbeddedWorkerInstance
-- ServiceWorkerVersion will own it (1:1 relation)
-- Provides an interface to interact (Start/Stop/Execute) with an EmbeddedWorker
BUG= 313530
TBR=jochen
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240030
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+580 lines, -14 lines) |
Patch |
 |
A |
content/browser/service_worker/embedded_worker_instance.h
|
View
|
1
2
3
4
|
1 chunk |
+102 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/service_worker/embedded_worker_instance.cc
|
View
|
1
2
3
4
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/service_worker/embedded_worker_instance_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+137 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/service_worker/embedded_worker_registry.h
|
View
|
1
2
3
4
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/service_worker/embedded_worker_registry.cc
|
View
|
1
2
3
4
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_context_core.h
|
View
|
1
2
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_context_core.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_dispatcher_host.cc
|
View
|
1
2
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_registration_unittest.cc
|
View
|
1
2
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_version.h
|
View
|
1
2
|
2 chunks |
+27 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_version.cc
|
View
|
1
2
|
1 chunk |
+36 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|