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

Unified Diff: google_apis/gcm/engine/account_mapping.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_client.h ('k') | google_apis/gcm/engine/account_mapping.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/account_mapping.h
diff --git a/google_apis/gcm/engine/account_mapping.h b/google_apis/gcm/engine/account_mapping.h
index 10fa6dceccd96791bbbf7358d2a5c8014491ed93..a152d5671d997d3175cfb321d777e6c73a0675e3 100644
--- a/google_apis/gcm/engine/account_mapping.h
+++ b/google_apis/gcm/engine/account_mapping.h
@@ -25,16 +25,6 @@ struct GCM_EXPORT AccountMapping {
// reached the GCM.
REMOVING, // Account is removed, but a message removing the mapping has not
// been confirmed yet.
- REMOVED, // Account is removed, and at least one message has been
- // confirmed to have reached the GCM.
- };
-
- // Indicates whether a message, if sent, was adding or removing account
- // mapping.
- enum MessageType {
- MSG_NONE, // No message has been sent.
- MSG_ADD, // Account was mapped to device by the message.
- MSG_REMOVE, // Account mapping to device was removed by the message.
};
AccountMapping();
@@ -57,8 +47,6 @@ struct GCM_EXPORT AccountMapping {
MappingStatus status;
// Time of the mapping status change.
base::Time status_change_timestamp;
- // Type of the last mapping message sent to GCM.
- MessageType last_message_type;
// ID of the last mapping message sent to GCM.
std::string last_message_id;
};
« no previous file with comments | « components/gcm_driver/gcm_client.h ('k') | google_apis/gcm/engine/account_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698