diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 10:59:47 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 10:59:47 +0000 |
commit | ddbb5334852f62efa0f11245e5cb81684b1e57ac (patch) | |
tree | c06006b6df3acf0f1996e9ada4c3c00e0175ca48 /ipc/ipc_message_start.h | |
parent | 573878b5609fb6badae40e4a1bdef944b9d340dc (diff) | |
download | chromium_src-ddbb5334852f62efa0f11245e5cb81684b1e57ac.zip chromium_src-ddbb5334852f62efa0f11245e5cb81684b1e57ac.tar.gz chromium_src-ddbb5334852f62efa0f11245e5cb81684b1e57ac.tar.bz2 |
Add IPC stubs between browser and ServiceWorker's worker context in the child process
- Add ServiceWorkerHostMsg_WorkerStarted and ServiceWorkerHostMsg_WorkerStopped
that are sent from embedded worker to the browser process
- Add ServiceWorkerContextMsg_FetchEvent for messages from embedded worker
to the browser process
FetchEvent/FetchRequest code is a bit rough as it's meant to be
a placeholder. I can remove the part from this CL if it doesn't
look reay yet.
The new code uses new IPC class (ServiceWorkerContextMsg) for dispatching
messages specifically sent to the embedded workers's worker context,
which may feel a bit noisy. (Alternative suggestions welcome)
BUG=313530
R=alecflett@chromium.org, jochen@chromium.org, tsepez@chromium.org
Review URL: https://codereview.chromium.org/118103002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_start.h')
-rw-r--r-- | ipc/ipc_message_start.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_message_start.h b/ipc/ipc_message_start.h index 7ce2bdd..e5b7c3d 100644 --- a/ipc/ipc_message_start.h +++ b/ipc/ipc_message_start.h @@ -92,6 +92,7 @@ enum IPCMessageStart { EncryptedMediaMsgStart, ServiceWorkerMsgStart, MessagePortMsgStart, + EmbeddedWorkerContextMsgStart, LastIPCMsgStart // Must come last. }; |