| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/worker/worker_webapplicationcachehost_impl.h" | 5 #include "content/worker/worker_webapplicationcachehost_impl.h" |
| 6 | 6 |
| 7 #include "content/child/appcache/appcache_dispatcher.h" | 7 #include "content/child/appcache/appcache_dispatcher.h" |
| 8 #include "content/worker/worker_thread.h" | 8 #include "content/worker/worker_thread.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl( | 12 WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl( |
| 13 blink::WebApplicationCacheHostClient* client) | 13 blink::WebApplicationCacheHostClient* client) |
| 14 : WebApplicationCacheHostImpl(client, | 14 : WebApplicationCacheHostImpl(client, |
| 15 WorkerThread::current()->appcache_dispatcher()->backend_proxy()) { | 15 WorkerThread::current()->appcache_dispatcher()->backend_proxy()) { |
| 16 } | 16 } |
| 17 | 17 |
| 18 void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest( | 18 void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest( |
| 19 blink::WebURLRequest&, const blink::WebFrame*) { | 19 blink::WebURLRequest&, const blink::WebFrame*) { |
| 20 } | 20 } |
| 21 | 21 |
| 22 void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest( |
| 23 blink::WebURLRequest&, const blink::WebApplicationCacheHost*) { |
| 24 } |
| 25 |
| 22 void WorkerWebApplicationCacheHostImpl::didReceiveResponseForMainResource( | 26 void WorkerWebApplicationCacheHostImpl::didReceiveResponseForMainResource( |
| 23 const blink::WebURLResponse&) { | 27 const blink::WebURLResponse&) { |
| 24 } | 28 } |
| 25 | 29 |
| 26 void WorkerWebApplicationCacheHostImpl::didReceiveDataForMainResource( | 30 void WorkerWebApplicationCacheHostImpl::didReceiveDataForMainResource( |
| 27 const char*, int) { | 31 const char*, int) { |
| 28 } | 32 } |
| 29 | 33 |
| 30 void WorkerWebApplicationCacheHostImpl::didFinishLoadingMainResource( | 34 void WorkerWebApplicationCacheHostImpl::didFinishLoadingMainResource( |
| 31 bool) { | 35 bool) { |
| 32 } | 36 } |
| 33 | 37 |
| 34 void WorkerWebApplicationCacheHostImpl::selectCacheWithoutManifest() { | 38 void WorkerWebApplicationCacheHostImpl::selectCacheWithoutManifest() { |
| 35 } | 39 } |
| 36 | 40 |
| 37 bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest( | 41 bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest( |
| 38 const blink::WebURL&) { | 42 const blink::WebURL&) { |
| 39 return true; | 43 return true; |
| 40 } | 44 } |
| 41 | 45 |
| 42 } // namespace content | 46 } // namespace content |
| OLD | NEW |