summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_prefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_prefs.h')
-rw-r--r--chrome/browser/extensions/extension_prefs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index eb16329..298d03c 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -187,6 +187,13 @@ class ExtensionPrefs {
// highest current application launch index found.
int GetNextAppLaunchIndex();
+ // The extension's update URL data. If not empty, the ExtensionUpdater
+ // will append a ap= parameter to the URL when checking if a new version
+ // of the extension is available.
+ void SetUpdateUrlData(const std::string& extension_id,
+ const std::string& data);
+ std::string GetUpdateUrlData(const std::string& extension_id);
+
static void RegisterUserPrefs(PrefService* prefs);
// The underlying PrefService.