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 |