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

Unified Diff: chrome/browser/browser_shutdown.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/browser_shutdown.cc
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc
index e359a64066461a5bac9681b01ad57da192e7f636..7d768aaefa7add9a6548c94a6cf44dcfc7c787c8 100644
--- a/chrome/browser/browser_shutdown.cc
+++ b/chrome/browser/browser_shutdown.cc
@@ -180,6 +180,8 @@ void Shutdown() {
RLZTracker::CleanupRlz();
#endif
+ profile_manager->ClearAppCaches();
+
// The jank'o'meter requires that the browser process has been destroyed
// before calling UninstallJankometer().
delete g_browser_process;
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.h » ('j') | content/browser/appcache/chrome_appcache_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698