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/mcs_client.cc

Issue 144383005: [GCM] Fix mcs_probe credential handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Persist checkin credentials Created 6 years, 11 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 | « no previous file | google_apis/gcm/tools/mcs_probe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/mcs_client.cc
diff --git a/google_apis/gcm/engine/mcs_client.cc b/google_apis/gcm/engine/mcs_client.cc
index 5e6490ac2d3ec497ec20d680d267bb15f042ab52..726ff32e58f6f3fa22419f4f176f78e90013aa7c 100644
--- a/google_apis/gcm/engine/mcs_client.cc
+++ b/google_apis/gcm/engine/mcs_client.cc
@@ -204,9 +204,10 @@ void MCSClient::Login(uint64 android_id, uint64 security_token) {
security_token_ = security_token;
}
+ DCHECK(android_id_ != 0 || restored_unackeds_server_ids_.empty());
+
state_ = CONNECTING;
connection_factory_->Connect();
- DCHECK(restored_unackeds_server_ids_.empty());
}
void MCSClient::SendMessage(const MCSMessage& message) {
« no previous file with comments | « no previous file | google_apis/gcm/tools/mcs_probe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698