Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: content/worker/worker_webapplicationcachehost_impl.cc

Issue 161573002: Implement new willStartMainResourceRequest method of blink::WebApplicationCacheHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add no-op worker overload Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/worker/worker_webapplicationcachehost_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « content/worker/worker_webapplicationcachehost_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698