Index: chrome/browser/extensions/extension_prefs.h |
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h |
index 6adb0156cec8b96cd1721b315c662e1b5aa34534..93cd49d73325421963bf684170b36f4639b305fc 100644 |
--- a/chrome/browser/extensions/extension_prefs.h |
+++ b/chrome/browser/extensions/extension_prefs.h |
@@ -494,6 +494,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 ExtensionPrefsUninstallExtension; // Unit test. |