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

Unified Diff: chrome/browser/browser_theme_provider.h

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 | « no previous file | chrome/browser/browser_theme_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_theme_provider.h
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h
index f54c3ca8178f7a10dec278eb69fde2867f4a0a7d..af112859f2bd6e3e9717fed0c3c7d4d65b33ec27 100644
--- a/chrome/browser/browser_theme_provider.h
+++ b/chrome/browser/browser_theme_provider.h
@@ -336,6 +336,9 @@ class BrowserThemeProvider : public NonThreadSafe,
// Frees generated images and clears the image cache.
void ClearCaches();
+ // Remove preference values for themes that are no longer in use.
+ void RemoveUnusedThemes();
+
// Encode image at image_cache_[id] as PNG and write to disk.
void WriteImagesToDisk() const;
« no previous file with comments | « no previous file | chrome/browser/browser_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698