Index: content/child/appcache/web_application_cache_host_impl.cc |
diff --git a/content/child/appcache/web_application_cache_host_impl.cc b/content/child/appcache/web_application_cache_host_impl.cc |
index b4a15f37750869121f10b29efdab3e3c4e623c0e..4ae662ddfd1fbf2840ac48d94d896522531fcecc 100644 |
--- a/content/child/appcache/web_application_cache_host_impl.cc |
+++ b/content/child/appcache/web_application_cache_host_impl.cc |
@@ -89,6 +89,18 @@ WebApplicationCacheHostImpl::~WebApplicationCacheHostImpl() { |
all_hosts()->Remove(host_id_); |
} |
+// HACK, should be encapsulated in WebNavigationControllerHost or something |
+void WebApplicationCacheHostImpl::registerController( |
+ const WebKit::WebString& pattern, |
+ const WebKit::WebURL& controller_url) { |
+ backend_->RegisterController(host_id_, document_url_, pattern, controller_url); |
+} |
+ |
+void WebApplicationCacheHostImpl::unregisterController( |
+ const WebKit::WebString& pattern) { |
+ backend_->UnregisterController(host_id_, document_url_, pattern); |
+} |
+ |
void WebApplicationCacheHostImpl::OnCacheSelected( |
const appcache::AppCacheInfo& info) { |
cache_info_ = info; |
@@ -160,6 +172,10 @@ void WebApplicationCacheHostImpl::OnErrorEventRaised( |
client_->notifyEventListener(static_cast<EventID>(appcache::ERROR_EVENT)); |
} |
+void WebApplicationCacheHostImpl::OnControllerReady() { |
+ NOTIMPLEMENTED(); |
+} |
+ |
void WebApplicationCacheHostImpl::willStartMainResourceRequest( |
WebURLRequest& request, const WebFrame* frame) { |
request.setAppCacheHostID(host_id_); |