summaryrefslogtreecommitdiffstats
path: root/content/worker
diff options
context:
space:
mode:
Diffstat (limited to 'content/worker')
-rw-r--r--content/worker/worker_webapplicationcachehost_impl.cc21
-rw-r--r--content/worker/worker_webapplicationcachehost_impl.h15
2 files changed, 29 insertions, 7 deletions
diff --git a/content/worker/worker_webapplicationcachehost_impl.cc b/content/worker/worker_webapplicationcachehost_impl.cc
index 45c75ed..734302c 100644
--- a/content/worker/worker_webapplicationcachehost_impl.cc
+++ b/content/worker/worker_webapplicationcachehost_impl.cc
@@ -21,7 +21,26 @@ WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl(
init_info.parent_appcache_host_id);
}
+void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest(
+ WebKit::WebURLRequest&, const WebKit::WebFrame*) {
+}
+
+void WorkerWebApplicationCacheHostImpl::didReceiveResponseForMainResource(
+ const WebKit::WebURLResponse&) {
+}
+
+void WorkerWebApplicationCacheHostImpl::didReceiveDataForMainResource(
+ const char*, int) {
+}
+
+void WorkerWebApplicationCacheHostImpl::didFinishLoadingMainResource(
+ bool) {
+}
+
+void WorkerWebApplicationCacheHostImpl::selectCacheWithoutManifest() {
+}
+
bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest(
- const WebKit::WebURL& manifestURL) {
+ const WebKit::WebURL&) {
return true;
}
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);
};