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

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

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
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,
« no previous file with comments | « content/child/appcache/appcache_frontend_impl.cc ('k') | content/child/appcache/web_application_cache_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698