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

Unified Diff: chrome/browser/profile.cc

Issue 303006: Delete unused themes from disk on shutdown. (Closed)
Patch Set: Created 11 years, 2 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 | « chrome/browser/browser_theme_provider.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile.cc
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 2c58382c9386878b5600cbd7a3773ebd9729f441..f4e2ed8e4805a4854e9ef39bda09e51760c8d5d4 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -811,6 +811,7 @@ ProfileImpl::~ProfileImpl() {
if (extensions_service_)
extensions_service_->ProfileDestroyed();
+ // This causes the Preferences file to be written to disk.
MarkAsCleanShutdown();
}
« no previous file with comments | « chrome/browser/browser_theme_provider.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698