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

Unified Diff: chrome/browser/extensions/extensions_service.h

Issue 1695018: Adding ExtensionPrefs methods for storing update-when-idle data.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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: chrome/browser/extensions/extensions_service.h
===================================================================
--- chrome/browser/extensions/extensions_service.h (revision 45592)
+++ chrome/browser/extensions/extensions_service.h (working copy)
@@ -79,15 +79,7 @@
const std::vector<std::string>& blacklist) = 0;
virtual bool HasInstalledExtensions() = 0;
- // These set/get a server-provided time representing the start of the last day
- // that we sent the 'ping' parameter during an update check.
- virtual void SetLastPingDay(const std::string& extension_id,
- const base::Time& time) = 0;
- virtual base::Time LastPingDay(const std::string& extension_id) const = 0;
-
- // Similar to the 2 above, but for the extensions blacklist.
- virtual void SetBlacklistLastPingDay(const base::Time& time) = 0;
- virtual base::Time BlacklistLastPingDay() const = 0;
+ virtual ExtensionPrefs* extension_prefs() = 0;
};
// Manages installed and running Chromium extensions.
@@ -159,12 +151,6 @@
return !(extensions_.empty() && disabled_extensions_.empty());
}
- virtual void SetLastPingDay(const std::string& extension_id,
- const base::Time& time);
- virtual base::Time LastPingDay(const std::string& extension_id) const;
- virtual void SetBlacklistLastPingDay(const base::Time& time);
- virtual base::Time BlacklistLastPingDay() const;
-
// Whether this extension can run in an incognito window.
bool IsIncognitoEnabled(const Extension* extension);
void SetIsIncognitoEnabled(Extension* extension, bool enabled);
« no previous file with comments | « chrome/browser/extensions/extension_updater_unittest.cc ('k') | chrome/browser/extensions/extensions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698