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

Unified Diff: chrome/browser/extensions/extension_service.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: 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_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index e68deb35f7e1e0b24c03cbf83de44461e47fcd02..57b2f6075358507330b5f1c4b7240231bb8128e7 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -210,8 +210,11 @@ class ExtensionService
virtual void SetIsIncognitoEnabled(const std::string& extension_id,
bool enabled);
+ // When app notification setup is done, we call this to save the developer's
+ // oauth client id which we'll need at uninstall time to revoke the oauth
+ // permission grant for sending notifications.
virtual void SetAppNotificationSetupDone(const std::string& extension_id,
- bool value);
+ const std::string& oauth_client_id);
virtual void SetAppNotificationDisabled(const std::string& extension_id,
bool value);

Powered by Google App Engine
This is Rietveld 408576698