diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 22:11:42 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 22:11:42 +0000 |
commit | e16b8af74c13f79282c608042d92fc1000fb5e62 (patch) | |
tree | 98d6594941193b24caaf66bd956fc1ea9eef0b58 /content/worker/worker_webapplicationcachehost_impl.h | |
parent | 778574e9b16cb9438b5edb364e45bd88b02b2483 (diff) | |
download | chromium_src-e16b8af74c13f79282c608042d92fc1000fb5e62.zip chromium_src-e16b8af74c13f79282c608042d92fc1000fb5e62.tar.gz chromium_src-e16b8af74c13f79282c608042d92fc1000fb5e62.tar.bz2 |
Plumbing to support loading from the "most appropriate" appcache.
BUG=68479
Review URL: http://codereview.chromium.org/6667057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78934 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/worker/worker_webapplicationcachehost_impl.h')
-rw-r--r-- | content/worker/worker_webapplicationcachehost_impl.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/content/worker/worker_webapplicationcachehost_impl.h b/content/worker/worker_webapplicationcachehost_impl.h index db6dc8a..e356583 100644 --- a/content/worker/worker_webapplicationcachehost_impl.h +++ b/content/worker/worker_webapplicationcachehost_impl.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -36,15 +36,18 @@ class WorkerWebApplicationCacheHostImpl // Main resource loading is different for workers. The resource is // loaded by the creator of the worker rather than the worker itself. - virtual void willStartMainResourceRequest(WebKit::WebURLRequest&) {} + // These overrides are stubbed out. + virtual void willStartMainResourceRequest( + WebKit::WebURLRequest&, const WebKit::WebFrame*); virtual void didReceiveResponseForMainResource( - const WebKit::WebURLResponse&) {} - virtual void didReceiveDataForMainResource(const char* data, int len) {} - virtual void didFinishLoadingMainResource(bool success) {} + const WebKit::WebURLResponse&); + virtual void didReceiveDataForMainResource(const char* data, int len); + virtual void didFinishLoadingMainResource(bool success); // Cache selection is also different for workers. We know at construction // time what cache to select and do so then. - virtual void selectCacheWithoutManifest() {} + // These overrides are stubbed out. + virtual void selectCacheWithoutManifest(); virtual bool selectCacheWithManifest(const WebKit::WebURL& manifestURL); }; |