| 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 127f9bf6541566e9a9c020a6337abfe721ba4d2c..a3075f6e5825a97b691d50937f5a06f2eab5e99c 100644
|
| --- a/google_apis/gcm/engine/mcs_client.cc
|
| +++ b/google_apis/gcm/engine/mcs_client.cc
|
| @@ -85,10 +85,12 @@ ReliablePacketInfo::ReliablePacketInfo()
|
| }
|
| ReliablePacketInfo::~ReliablePacketInfo() {}
|
|
|
| -MCSClient::MCSClient(base::Clock* clock,
|
| +MCSClient::MCSClient(const std::string& version_string,
|
| + base::Clock* clock,
|
| ConnectionFactory* connection_factory,
|
| GCMStore* gcm_store)
|
| - : clock_(clock),
|
| + : version_string_(version_string),
|
| + clock_(clock),
|
| state_(UNINITIALIZED),
|
| android_id_(0),
|
| security_token_(0),
|
| @@ -297,7 +299,10 @@ void MCSClient::ResetStateAndBuildLoginRequest(
|
|
|
| // Then build the request, consuming all pending acknowledgments.
|
| request->Swap(BuildLoginRequest(
|
| - android_id_, security_token_, user_serial_numbers_).get());
|
| + android_id_,
|
| + security_token_,
|
| + version_string_,
|
| + user_serial_numbers_).get());
|
| for (PersistentIdList::const_iterator iter =
|
| restored_unackeds_server_ids_.begin();
|
| iter != restored_unackeds_server_ids_.end(); ++iter) {
|
|
|