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

Unified Diff: google_apis/gcm/engine/fake_connection_handler.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: 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_handler.cc
diff --git a/google_apis/gcm/engine/fake_connection_handler.cc b/google_apis/gcm/engine/fake_connection_handler.cc
index 06639331ebeb1583c7b57e117e899ba93d7e95ae..6a239eae151a865d86b422acef921b34807ac21e 100644
--- a/google_apis/gcm/engine/fake_connection_handler.cc
+++ b/google_apis/gcm/engine/fake_connection_handler.cc
@@ -39,7 +39,7 @@ FakeConnectionHandler::~FakeConnectionHandler() {
}
void FakeConnectionHandler::Init(const mcs_proto::LoginRequest& login_request,
- scoped_ptr<net::StreamSocket> socket) {
+ net::StreamSocket* socket) {
EXPECT_EQ(expected_outgoing_messages_.front().SerializeAsString(),
login_request.SerializeAsString());
expected_outgoing_messages_.pop_front();

Powered by Google App Engine
This is Rietveld 408576698