1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/worker/worker_webapplicationcachehost_impl.h"
7 #include "content/child/appcache/appcache_dispatcher.h"
8 #include "content/worker/worker_thread.h"
12 WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl(
13 blink::WebApplicationCacheHostClient
* client
)
14 : WebApplicationCacheHostImpl(client
,
15 WorkerThread::current()->appcache_dispatcher()->backend_proxy()) {
18 void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest(
19 blink::WebURLRequest
&, const blink::WebApplicationCacheHost
*) {
22 void WorkerWebApplicationCacheHostImpl::didReceiveResponseForMainResource(
23 const blink::WebURLResponse
&) {
26 void WorkerWebApplicationCacheHostImpl::didReceiveDataForMainResource(
30 void WorkerWebApplicationCacheHostImpl::didFinishLoadingMainResource(
34 void WorkerWebApplicationCacheHostImpl::selectCacheWithoutManifest() {
37 bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest(
38 const blink::WebURL
&) {
42 } // namespace content