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

Unified Diff: extensions/browser/extension_prefs.h

Issue 314563003: Handle promotion of ephemeral apps in the ExtensionStorageMonitor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit in comment Created 6 years, 7 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: extensions/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index fc3c7bed6dbed0af1f18f0227b32d1b9d081b10c..069b60481cff79e44581dbfdbfc803d1d89d05ad 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -558,19 +558,6 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
void SetInstallParam(const std::string& extension_id,
const std::string& install_parameter);
- // Gets/sets the next threshold for displaying a notification if an extension
- // or app consumes excessive disk space. Returns 0 if the initial threshold
- // has not yet been reached.
- int64 GetNextStorageThreshold(const std::string& extension_id) const;
- void SetNextStorageThreshold(const std::string& extension_id,
- int64 next_threshold);
-
- // Gets/sets whether notifications should be shown if an extension or app
- // consumes too much disk space.
- bool IsStorageNotificationEnabled(const std::string& extension_id) const;
- void SetStorageNotificationEnabled(const std::string& extension_id,
- bool enable_notifications);
-
private:
friend class ExtensionPrefsBlacklistedExtensions; // Unit test.
friend class ExtensionPrefsUninstallExtension; // Unit test.
« no previous file with comments | « chrome/browser/extensions/extension_storage_monitor_browsertest.cc ('k') | extensions/browser/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698