Index: components/gcm_driver/fake_gcm_client.h |
diff --git a/components/gcm_driver/fake_gcm_client.h b/components/gcm_driver/fake_gcm_client.h |
index 649e74e739e1cd2d4c421456d0e50162e1f8c00b..fa91bbcb3f5ef7a71ea22dbd0b15a85ba39c4b0f 100644 |
--- a/components/gcm_driver/fake_gcm_client.h |
+++ b/components/gcm_driver/fake_gcm_client.h |
@@ -72,8 +72,8 @@ class FakeGCMClient : public GCMClient { |
const IncomingMessage& message); |
void DeleteMessages(const std::string& app_id); |
- static std::string GetRegistrationIdFromSenderIds( |
- const std::vector<std::string>& sender_ids); |
+ std::string GetRegistrationIdFromSenderIds( |
+ const std::vector<std::string>& sender_ids) const; |
Status status() const { return status_; } |
@@ -94,6 +94,9 @@ class FakeGCMClient : public GCMClient { |
const std::string& message_id); |
Delegate* delegate_; |
+ // Increased at checkout in order to produce a different registration ID |
+ // after checkout and re-checkin. |
+ int sequence_id_; |
Status status_; |
StartMode start_mode_; |
scoped_refptr<base::SequencedTaskRunner> ui_thread_; |