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

Unified Diff: google_apis/gcm/engine/checkin_request.h

Issue 378643002: [GCM] Check-in with signed in accounts associates device to user (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing compilation issue on android Created 6 years, 5 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: google_apis/gcm/engine/checkin_request.h
diff --git a/google_apis/gcm/engine/checkin_request.h b/google_apis/gcm/engine/checkin_request.h
index ae4a7d438976bd255d523d88dfd0aaf33a8b34b1..d159ace4d69b5bf54f80375fabca64247603dfeb 100644
--- a/google_apis/gcm/engine/checkin_request.h
+++ b/google_apis/gcm/engine/checkin_request.h
@@ -41,6 +41,7 @@ class GCM_EXPORT CheckinRequest : public net::URLFetcherDelegate {
struct GCM_EXPORT RequestInfo {
RequestInfo(uint64 android_id,
uint64 security_token,
+ const std::map<std::string, std::string> account_tokens,
Nicolas Zea 2014/07/10 20:57:32 pass by const ref
fgorski 2014/07/11 22:51:21 Done.
const std::string& settings_digest,
const checkin_proto::ChromeBuildProto& chrome_build_proto);
~RequestInfo();
@@ -49,6 +50,8 @@ class GCM_EXPORT CheckinRequest : public net::URLFetcherDelegate {
uint64 android_id;
// Security token of the device.
uint64 security_token;
+ // Map of account OAuth2 tokens keyed by emails.
+ std::map<std::string, std::string> account_tokens;
// Digest of GServices settings on the device.
std::string settings_digest;
// Information of the Chrome build of this device.

Powered by Google App Engine
This is Rietveld 408576698