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

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: Updating the failing test Created 6 years, 4 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: components/gcm_driver/gcm_client.h
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h
index 8a7f7b21747892932828090f27f3821ad40bc44d..da6e070a89b748c0eedab833b55749cbb76d4027 100644
--- a/components/gcm_driver/gcm_client.h
+++ b/components/gcm_driver/gcm_client.h
@@ -141,6 +141,14 @@ class GCMClient {
RecordedActivities recorded_activities;
};
+ // Information about account and access token for that account.
+ // That information can be used for checkin or account mapping.
+ 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 {

Powered by Google App Engine
This is Rietveld 408576698