| Index: google_apis/gcm/engine/mcs_client_unittest.cc
|
| diff --git a/google_apis/gcm/engine/mcs_client_unittest.cc b/google_apis/gcm/engine/mcs_client_unittest.cc
|
| index c4ab792d5327ec10e8ffb642ddff1c9d2dd5226c..461b1835ba6e791eda897dd519896d34a1fb8a4f 100644
|
| --- a/google_apis/gcm/engine/mcs_client_unittest.cc
|
| +++ b/google_apis/gcm/engine/mcs_client_unittest.cc
|
| @@ -14,6 +14,7 @@
|
| #include "google_apis/gcm/engine/fake_connection_factory.h"
|
| #include "google_apis/gcm/engine/fake_connection_handler.h"
|
| #include "google_apis/gcm/engine/gcm_store_impl.h"
|
| +#include "google_apis/gcm/gcm_stats_recorder.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace gcm {
|
| @@ -66,8 +67,9 @@ class TestMCSClient : public MCSClient {
|
| public:
|
| TestMCSClient(base::Clock* clock,
|
| ConnectionFactory* connection_factory,
|
| - GCMStore* gcm_store)
|
| - : MCSClient("", clock, connection_factory, gcm_store),
|
| + GCMStore* gcm_store,
|
| + gcm::GCMStatsRecorder* recorder)
|
| + : MCSClient("", clock, connection_factory, gcm_store, recorder),
|
| next_id_(0) {
|
| }
|
|
|
| @@ -133,6 +135,8 @@ class MCSClientTest : public testing::Test {
|
| scoped_ptr<MCSMessage> received_message_;
|
| std::string sent_message_id_;
|
| MCSClient::MessageSendStatus message_send_status_;
|
| +
|
| + gcm::GCMStatsRecorder recorder_;
|
| };
|
|
|
| MCSClientTest::MCSClientTest()
|
| @@ -161,7 +165,8 @@ void MCSClientTest::BuildMCSClient() {
|
| message_loop_.message_loop_proxy()));
|
| mcs_client_.reset(new TestMCSClient(&clock_,
|
| &connection_factory_,
|
| - gcm_store_.get()));
|
| + gcm_store_.get(),
|
| + &recorder_));
|
| }
|
|
|
| void MCSClientTest::InitializeClient() {
|
|
|