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

Unified Diff: webkit/appcache/appcache_service.cc

Issue 7210006: AppCaches which belong to hosted apps are not protected from deletion (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Minor. Created 9 years, 5 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: webkit/appcache/appcache_service.cc
diff --git a/webkit/appcache/appcache_service.cc b/webkit/appcache/appcache_service.cc
index bc0f4cc17207a60a3d94bbb10b5f744859de110a..7d05af032cfcf37fe5bc9250342bde8d2a36c9af 100644
--- a/webkit/appcache/appcache_service.cc
+++ b/webkit/appcache/appcache_service.cc
@@ -126,6 +126,7 @@ class AppCacheService::DeleteHelper : public AsyncHelper {
appcache::AppCacheGroup* group, bool success);
GURL manifest_url_;
+
DISALLOW_COPY_AND_ASSIGN(DeleteHelper);
};
@@ -256,6 +257,7 @@ class AppCacheService::GetInfoHelper : AsyncHelper {
virtual void OnAllInfo(AppCacheInfoCollection* collection);
scoped_refptr<AppCacheInfoCollection> collection_;
+
DISALLOW_COPY_AND_ASSIGN(GetInfoHelper);
};
@@ -273,7 +275,7 @@ void AppCacheService::GetInfoHelper::OnAllInfo(
AppCacheService::AppCacheService(quota::QuotaManagerProxy* quota_manager_proxy)
: appcache_policy_(NULL), quota_client_(NULL),
quota_manager_proxy_(quota_manager_proxy),
- request_context_(NULL) {
+ request_context_(NULL), clear_local_state_on_exit_(false) {
if (quota_manager_proxy_) {
quota_client_ = new AppCacheQuotaClient(this);
quota_manager_proxy_->RegisterClient(quota_client_);

Powered by Google App Engine
This is Rietveld 408576698