diff options
Diffstat (limited to 'chromium/content/worker/worker_webapplicationcachehost_impl.h')
-rw-r--r-- | chromium/content/worker/worker_webapplicationcachehost_impl.h | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/chromium/content/worker/worker_webapplicationcachehost_impl.h b/chromium/content/worker/worker_webapplicationcachehost_impl.h index 6f8385cb035..e431e76eb2a 100644 --- a/chromium/content/worker/worker_webapplicationcachehost_impl.h +++ b/chromium/content/worker/worker_webapplicationcachehost_impl.h @@ -9,34 +9,16 @@ namespace content { -// Information used to construct and initialize an appcache host -// for a worker. -struct WorkerAppCacheInitInfo { - int parent_process_id; - int64 main_resource_appcache_id; // Only valid for shared workers. - - WorkerAppCacheInitInfo() - : parent_process_id(0), - main_resource_appcache_id(0) { - } - WorkerAppCacheInitInfo( - int process_id, int64 cache_id) - : parent_process_id(process_id), - main_resource_appcache_id(cache_id) { - } -}; - class WorkerWebApplicationCacheHostImpl : public WebApplicationCacheHostImpl { public: WorkerWebApplicationCacheHostImpl( - const WorkerAppCacheInitInfo& init_info, blink::WebApplicationCacheHostClient* client); - // Main resource loading is different for workers. The resource is - // loaded by the creator of the worker rather than the worker itself. + // Main resource loading is different for workers. The main resource is + // loaded by the worker using WorkerScriptLoader. // These overrides are stubbed out. virtual void willStartMainResourceRequest( - blink::WebURLRequest&, const blink::WebFrame*); + blink::WebURLRequest&, const blink::WebApplicationCacheHost*); virtual void didReceiveResponseForMainResource( const blink::WebURLResponse&); virtual void didReceiveDataForMainResource(const char* data, int len); |