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. 4 5 #include "content/worker/worker_webapplicationcachehost_impl.h" 6 7 #include "content/child/appcache/appcache_dispatcher.h" 8 #include "content/worker/worker_thread.h" 9 10 namespace content { 11 WorkerWebApplicationCacheHostImpl(blink::WebApplicationCacheHostClient * client)12WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl( 13 blink::WebApplicationCacheHostClient* client) 14 : WebApplicationCacheHostImpl(client, 15 WorkerThread::current()->appcache_dispatcher()->backend_proxy()) { 16 } 17 willStartMainResourceRequest(blink::WebURLRequest &,const blink::WebApplicationCacheHost *)18void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest( 19 blink::WebURLRequest&, const blink::WebApplicationCacheHost*) { 20 } 21 didReceiveResponseForMainResource(const blink::WebURLResponse &)22void WorkerWebApplicationCacheHostImpl::didReceiveResponseForMainResource( 23 const blink::WebURLResponse&) { 24 } 25 didReceiveDataForMainResource(const char *,int)26void WorkerWebApplicationCacheHostImpl::didReceiveDataForMainResource( 27 const char*, int) { 28 } 29 didFinishLoadingMainResource(bool)30void WorkerWebApplicationCacheHostImpl::didFinishLoadingMainResource( 31 bool) { 32 } 33 selectCacheWithoutManifest()34void WorkerWebApplicationCacheHostImpl::selectCacheWithoutManifest() { 35 } 36 selectCacheWithManifest(const blink::WebURL &)37bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest( 38 const blink::WebURL&) { 39 return true; 40 } 41 42 } // namespace content 43