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

Unified Diff: webkit/appcache/appcache_group.cc

Issue 192043: AppCacheHost cache selection algorithm (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/appcache/appcache_group.h ('k') | webkit/appcache/appcache_group_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_group.cc
===================================================================
--- webkit/appcache/appcache_group.cc (revision 26254)
+++ webkit/appcache/appcache_group.cc (working copy)
@@ -8,6 +8,7 @@
#include "base/logging.h"
#include "webkit/appcache/appcache.h"
+#include "webkit/appcache/appcache_host.h"
#include "webkit/appcache/appcache_service.h"
namespace appcache {
@@ -61,7 +62,7 @@
} else {
// Unused old cache can always be removed.
Caches::iterator it =
- std::find(old_caches_.begin(), old_caches_.end(), cache);
+ std::find(old_caches_.begin(), old_caches_.end(), cache);
if (it != old_caches_.end()) {
(*it)->set_owning_group(NULL);
old_caches_.erase(it);
@@ -71,4 +72,9 @@
return true;
}
+void AppCacheGroup::StartUpdateWithNewMasterEntry(
+ AppCacheHost* host, const GURL& master_entry_url) {
+ // TODO(michaeln): use the real AppCacheUpdateJob
+}
+
} // namespace appcache
« no previous file with comments | « webkit/appcache/appcache_group.h ('k') | webkit/appcache/appcache_group_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698