| Index: content/worker/worker_webapplicationcachehost_impl.h
|
| diff --git a/content/worker/worker_webapplicationcachehost_impl.h b/content/worker/worker_webapplicationcachehost_impl.h
|
| index 6f8385cb035c1d37f44801c2d6cf7baf97639dd2..9662559ee3b3589ebd5517dd1fa84a12ddb51186 100644
|
| --- a/content/worker/worker_webapplicationcachehost_impl.h
|
| +++ b/content/worker/worker_webapplicationcachehost_impl.h
|
| @@ -9,31 +9,13 @@
|
|
|
| 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*);
|
|
|