Index: chrome/browser/extensions/extension_prefs.h |
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h |
index 4c570446922acfdc6b2f623ffa1f0b81e6ac3074..d21044353a8a4b28360a85d9b09d740fcf2c037a 100644 |
--- a/chrome/browser/extensions/extension_prefs.h |
+++ b/chrome/browser/extensions/extension_prefs.h |
@@ -503,6 +503,12 @@ class ExtensionPrefs : public ContentSettingsStore::Observer, |
// prefs::kExtensionAllowedInstallSites for more information. |
URLPatternSet GetAllowedInstallSites(); |
+ // Schedules garbage collection of an extension's on-disk data on the next |
+ // start of this ExtensionService. Applies only to extensions with isolated |
+ // storage. |
+ void SetNeedsStorageGarbageCollection(bool value); |
+ bool NeedsStorageGarbageCollection(); |
+ |
private: |
friend class ExtensionPrefsBlacklistedExtensions; // Unit test. |
friend class ExtensionPrefsUninstallExtension; // Unit test. |