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

Unified Diff: chrome/browser/profiles/profile.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: Clearing appcaches & waiting in Shutdown(). 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: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index ab8534d2c35bc8a4e7532880b3558b39aaeaff6e..9645d1149fd025b10715e831e0f07ed29af69477 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -761,8 +761,7 @@ class OffTheRecordProfileImpl : public Profile,
IsOffTheRecord()
? FilePath() : GetPath().Append(chrome::kAppCacheDirname),
&GetResourceContext(),
- make_scoped_refptr(GetExtensionSpecialStoragePolicy()),
- false));
+ make_scoped_refptr(GetExtensionSpecialStoragePolicy())));
}
NotificationRegistrar registrar_;
@@ -861,3 +860,7 @@ Profile* Profile::CreateOffTheRecordProfile() {
#endif
return new OffTheRecordProfileImpl(this);
}
+
+base::WaitableEvent* Profile::ClearAppCache() {
+ return NULL;
+}

Powered by Google App Engine
This is Rietveld 408576698