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

Unified Diff: components/gcm_driver/gcm_client.h

Issue 491443004: [GCM] Adding GCMAccountMapper to link signed in profile to accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing feedback from Jian Li Created 6 years, 3 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
« no previous file with comments | « components/gcm_driver/gcm_account_mapper_unittest.cc ('k') | google_apis/gcm/engine/account_mapping.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_client.h
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h
index 8a7f7b21747892932828090f27f3821ad40bc44d..825c9fd2982ab3553ead6f30ea9a15c798e12cb3 100644
--- a/components/gcm_driver/gcm_client.h
+++ b/components/gcm_driver/gcm_client.h
@@ -141,6 +141,13 @@ class GCMClient {
RecordedActivities recorded_activities;
};
+ // Information about account.
+ struct AccountTokenInfo {
+ std::string account_id;
+ std::string email;
+ std::string access_token;
+ };
+
// A delegate interface that allows the GCMClient instance to interact with
// its caller, i.e. notifying asynchronous event.
class Delegate {
« no previous file with comments | « components/gcm_driver/gcm_account_mapper_unittest.cc ('k') | google_apis/gcm/engine/account_mapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698