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

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

Issue 8727024: Save the oauth client id used in App Notification setup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed nits Created 9 years, 1 month 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/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index d7760a76d98a7210d7a0aae4bbb75cdd10689c7c..75d7068d2694b71316f67439b3bd48d22458e284 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -171,10 +171,10 @@ class ExtensionPrefs : public ExtensionContentSettingsStore::Observer {
// reset it. Don't call it unless you mean it!
bool SetAlertSystemFirstRun();
- // Whether app notifications setup is done for the given app.
- bool IsAppNotificationSetupDone(const std::string& extension_id) const;
- void SetAppNotificationSetupDone(const std::string& extension_id,
- bool value);
+ // The oauth client id used for app notification setup, if any.
+ std::string GetAppNotificationClientId(const std::string& extension_id) const;
+ void SetAppNotificationClientId(const std::string& extension_id,
+ const std::string& oauth_client_id);
// Whether app notifications are disabled for the given app.
bool IsAppNotificationDisabled(const std::string& extension_id) const;
« no previous file with comments | « chrome/browser/extensions/app_notify_channel_setup_unittest.cc ('k') | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698