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

Unified Diff: webkit/appcache/appcache.h

Issue 4807001: AppCache: Alter the relative priorities of online vs fallback namespaces. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | « no previous file | webkit/appcache/appcache.cc » ('j') | webkit/appcache/appcache.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache.h
===================================================================
--- webkit/appcache/appcache.h (revision 66193)
+++ webkit/appcache/appcache.h (working copy)
@@ -106,6 +106,10 @@
AppCacheEntry* found_entry, AppCacheEntry* found_fallback_entry,
GURL* found_fallback_namespace, bool* found_network_namespace);
+ static bool IsInNetworkNamespace(
+ const GURL& url,
+ const std::vector<GURL> &namespaces);
+
private:
friend class AppCacheGroup;
friend class AppCacheHost;
@@ -120,7 +124,6 @@
// FindResponseForRequest helpers
FallbackNamespace* FindFallbackNamespace(const GURL& url);
- bool IsInNetworkNamespace(const GURL& url);
// Use AppCacheHost::AssociateCache() to manipulate host association.
void AssociateHost(AppCacheHost* host) {
« no previous file with comments | « no previous file | webkit/appcache/appcache.cc » ('j') | webkit/appcache/appcache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698