Index: content/child/appcache/web_application_cache_host_impl.h |
diff --git a/content/child/appcache/web_application_cache_host_impl.h b/content/child/appcache/web_application_cache_host_impl.h |
index c0cdea97692115b48faecc03ed6083f8fcf26230..dc41fd2d79e0ef0e0c59f9c71b5060495dd098ab 100644 |
--- a/content/child/appcache/web_application_cache_host_impl.h |
+++ b/content/child/appcache/web_application_cache_host_impl.h |
@@ -9,6 +9,7 @@ |
#include "third_party/WebKit/public/platform/WebURLResponse.h" |
#include "third_party/WebKit/public/platform/WebVector.h" |
+#include "third_party/WebKit/public/web/WebApplicationCacheHost.h" |
#include "third_party/WebKit/public/web/WebApplicationCacheHostClient.h" |
#include "url/gurl.h" |
#include "webkit/common/appcache/appcache_interfaces.h" |
@@ -44,6 +45,7 @@ class WebApplicationCacheHostImpl |
virtual void OnLogMessage(appcache::LogLevel log_level, |
const std::string& message) {} |
virtual void OnContentBlocked(const GURL& manifest_url) {} |
+ virtual void OnControllerReady(); |
// WebKit::WebApplicationCacheHost: |
virtual void willStartMainResourceRequest(WebKit::WebURLRequest&, |
@@ -60,6 +62,11 @@ class WebApplicationCacheHostImpl |
virtual void getResourceList(WebKit::WebVector<ResourceInfo>* resources); |
virtual void getAssociatedCacheInfo(CacheInfo* info); |
+ // HACK, should be encapsulated in WebNavigationControllerHost or something |
+ virtual void registerController(const WebKit::WebString& pattern, |
+ const WebKit::WebURL&); |
+ virtual void unregisterController(const WebKit::WebString& pattern); |
+ |
private: |
enum IsNewMasterEntry { |
MAYBE, |