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

Unified Diff: webkit/browser/appcache/appcache_backend_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 | « webkit/browser/appcache/appcache_backend_impl.h ('k') | webkit/browser/appcache/appcache_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/appcache/appcache_backend_impl.cc
diff --git a/webkit/browser/appcache/appcache_backend_impl.cc b/webkit/browser/appcache/appcache_backend_impl.cc
index fd8029d6dab7b5561d965c5349b24675b8fc8015..65236fe7966783b061468d44b4c4f43454353599 100644
--- a/webkit/browser/appcache/appcache_backend_impl.cc
+++ b/webkit/browser/appcache/appcache_backend_impl.cc
@@ -138,6 +138,27 @@ bool AppCacheBackendImpl::SwapCacheWithCallback(
return true;
}
+bool AppCacheBackendImpl::RegisterController(int host_id,
+ const GURL& document_url,
+ const string16& pattern,
+ const GURL& script_url) {
+ AppCacheHost* host = GetHost(host_id);
+ if (!host)
+ return false;
+ host->RegisterController(document_url, pattern, script_url);
+ return true;
+}
+
+bool AppCacheBackendImpl::UnregisterController(int host_id,
+ const GURL& document_url,
+ const string16& pattern) {
+ AppCacheHost* host = GetHost(host_id);
+ if (!host)
+ return false;
+ host->UnregisterController(document_url, pattern);
+ return true;
+}
+
void AppCacheBackendImpl::GetResourceList(
int host_id, std::vector<appcache::AppCacheResourceInfo>* resource_infos) {
AppCacheHost* host = GetHost(host_id);
« no previous file with comments | « webkit/browser/appcache/appcache_backend_impl.h ('k') | webkit/browser/appcache/appcache_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698