diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 20:40:56 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 20:40:56 +0000 |
commit | 14396e9b2d58eda3d5734c57a80783e2dc0a705f (patch) | |
tree | 0ef906e2df709f9201d0f37544d4519a557852ee /chrome/common/render_messages.h | |
parent | bbf362b447de9cdd023e933ae219731fc01d0571 (diff) | |
download | chromium_src-14396e9b2d58eda3d5734c57a80783e2dc0a705f.zip chromium_src-14396e9b2d58eda3d5734c57a80783e2dc0a705f.tar.gz chromium_src-14396e9b2d58eda3d5734c57a80783e2dc0a705f.tar.bz2 |
More groundwork for making appcache work in workers.
Widen the IPC message used to start and initialize a worker to
include the additional fields needed to initialize the appcache
host for that worker. And set those values when sending that message
from a renderer.
BUG=39368
TEST=manual and existing tests apply
Review URL: http://codereview.chromium.org/2013001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 85510a5..7f6ce16 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -578,6 +578,13 @@ struct ViewHostMsg_CreateWorker_Params { // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, // a new unique ID is created and assigned to the worker. int route_id; + + // The ID of the parent's appcache host, only valid for dedicated workers. + int parent_appcache_host_id; + + // The ID of the appcache the main shared worker script resource was loaded + // from, only valid for shared workers. + int64 script_resource_appcache_id; }; // Creates a new view via a control message since the view doesn't yet exist. |