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

Unified Diff: google_apis/gcm/engine/fake_connection_factory.cc

Issue 118133003: [GCM] Add heartbeat manager and reconnection logic due to heartbeat failure (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unrevert fixes Created 7 years 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/fake_connection_factory.cc
diff --git a/google_apis/gcm/engine/fake_connection_factory.cc b/google_apis/gcm/engine/fake_connection_factory.cc
index 93e66cb6ce491007611412a05f9c99f87c4ebda2..084ff663591522092f504e0e25d1425c87821ba8 100644
--- a/google_apis/gcm/engine/fake_connection_factory.cc
+++ b/google_apis/gcm/engine/fake_connection_factory.cc
@@ -32,7 +32,7 @@ ConnectionHandler* FakeConnectionFactory::GetConnectionHandler() const {
void FakeConnectionFactory::Connect() {
mcs_proto::LoginRequest login_request;
request_builder_.Run(&login_request);
- connection_handler_->Init(login_request, scoped_ptr<net::StreamSocket>());
+ connection_handler_->Init(login_request, NULL);
}
bool FakeConnectionFactory::IsEndpointReachable() const {
« no previous file with comments | « google_apis/gcm/engine/connection_handler_impl_unittest.cc ('k') | google_apis/gcm/engine/fake_connection_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698