Upstream version 6.35.121.0
[platform/framework/web/crosswalk.git] / src / content / worker / worker_webapplicationcachehost_impl.cc
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
12 WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl(
13     blink::WebApplicationCacheHostClient* client)
14     : WebApplicationCacheHostImpl(client,
15           WorkerThread::current()->appcache_dispatcher()->backend_proxy()) {
16 }
17
18 void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest(
19     blink::WebURLRequest&, const blink::WebApplicationCacheHost*) {
20 }
21
22 void WorkerWebApplicationCacheHostImpl::didReceiveResponseForMainResource(
23     const blink::WebURLResponse&) {
24 }
25
26 void WorkerWebApplicationCacheHostImpl::didReceiveDataForMainResource(
27     const char*, int) {
28 }
29
30 void WorkerWebApplicationCacheHostImpl::didFinishLoadingMainResource(
31     bool) {
32 }
33
34 void WorkerWebApplicationCacheHostImpl::selectCacheWithoutManifest() {
35 }
36
37 bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest(
38     const blink::WebURL&) {
39   return true;
40 }
41
42 }  // namespace content