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

Unified Diff: public/web/WebServiceWorkerContextClient.h

Issue 424643002: Introducing the WebServiceWorkerCacheStorage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: parameter naming Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebServiceWorkerCacheStorage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebServiceWorkerContextClient.h
diff --git a/public/web/WebServiceWorkerContextClient.h b/public/web/WebServiceWorkerContextClient.h
index 0a787469810b9966f2db9973a9b53f046832bb4b..33cae411488cad74b45c770fec475161a9628fbe 100644
--- a/public/web/WebServiceWorkerContextClient.h
+++ b/public/web/WebServiceWorkerContextClient.h
@@ -40,6 +40,7 @@
namespace blink {
class WebDataSource;
+class WebServiceWorkerCacheStorage;
class WebServiceWorkerContextProxy;
class WebServiceWorkerNetworkProvider;
class WebServiceWorkerResponse;
@@ -57,6 +58,9 @@ class WebServiceWorkerContextClient {
public:
virtual ~WebServiceWorkerContextClient() { }
+ // ServiceWorker specific method.
+ virtual WebServiceWorkerCacheStorage* cacheStorage() { return 0; }
+
// ServiceWorker specific method. Called when script accesses the
// the |scope| attribute of the ServiceWorkerGlobalScope. Immutable per spec.
virtual WebURL scope() const { return WebURL(); }
@@ -132,4 +136,4 @@ public:
} // namespace blink
-#endif // WebWorkerContextClient_h
+#endif // WebServiceWorkerContextClient_h
« no previous file with comments | « public/platform/WebServiceWorkerCacheStorage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698