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

Unified Diff: webkit/appcache/appcache_service.cc

Issue 195077: Tell the AppCacheService which request context to use when fetching resources... (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_service.h ('k') | webkit/tools/test_shell/simple_appcache_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_service.cc
===================================================================
--- webkit/appcache/appcache_service.cc (revision 26234)
+++ webkit/appcache/appcache_service.cc (working copy)
@@ -11,6 +11,11 @@
namespace appcache {
+AppCacheService::AppCacheService()
+ : last_cache_id_(0), last_group_id_(0),
+ last_entry_id_(0), last_response_id_(0) {
+}
+
AppCacheService::~AppCacheService() {
DCHECK(backends_.empty());
DCHECK(caches_.empty());
@@ -20,6 +25,7 @@
void AppCacheService::Initialize(const FilePath& cache_directory) {
// An empty cache directory indicates chrome incognito.
cache_directory_ = cache_directory;
+ // TODO(michaeln): load last_<foo>_ids from storage
}
void AppCacheService::RegisterBackend(
« no previous file with comments | « webkit/appcache/appcache_service.h ('k') | webkit/tools/test_shell/simple_appcache_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698