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

Unified Diff: content/child/appcache/web_application_cache_host_impl.cc

Issue 22314003: NavigationController prototype Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NavController prototype - chrome side Created 7 years, 3 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 | « content/child/appcache/web_application_cache_host_impl.h ('k') | content/common/appcache_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
« no previous file with comments | « content/child/appcache/web_application_cache_host_impl.h ('k') | content/common/appcache_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698