Index: google_apis/gcm/engine/connection_handler_impl_unittest.cc |
diff --git a/google_apis/gcm/engine/connection_handler_impl_unittest.cc b/google_apis/gcm/engine/connection_handler_impl_unittest.cc |
index 5f0996ac58811942b200eff6f685fbe3cc3a94e3..32632a813f37ffdf8c0465d6c1fac8392e6c5914 100644 |
--- a/google_apis/gcm/engine/connection_handler_impl_unittest.cc |
+++ b/google_apis/gcm/engine/connection_handler_impl_unittest.cc |
@@ -27,7 +27,7 @@ typedef std::vector<net::MockWrite> WriteList; |
const uint64 kAuthId = 54321; |
const uint64 kAuthToken = 12345; |
-const char kMCSVersion = 38; // The protocol version. |
+const char kMCSVersion = 41; // The protocol version. |
const int kMCSPort = 5228; // The server port. |
const char kDataMsgFrom[] = "data_from"; |
const char kDataMsgCategory[] = "data_category"; |
@@ -67,7 +67,8 @@ std::string EncodeHandshakeRequest() { |
std::string result; |
const char version_byte[1] = {kMCSVersion}; |
result.append(version_byte, 1); |
- ScopedMessage login_request(BuildLoginRequest(kAuthId, kAuthToken)); |
+ ScopedMessage login_request( |
+ BuildLoginRequest(kAuthId, kAuthToken, "")); |
result.append(EncodePacket(kLoginRequestTag, |
login_request->SerializeAsString())); |
return result; |
@@ -203,7 +204,7 @@ void GCMConnectionHandlerImplTest::Connect( |
base::Unretained(this)))); |
EXPECT_FALSE(connection_handler()->CanSendMessage()); |
connection_handler_->Init( |
- *BuildLoginRequest(kAuthId, kAuthToken), |
+ *BuildLoginRequest(kAuthId, kAuthToken, ""), |
socket_.get()); |
} |