Index: google_apis/gcm/gcm_client_impl_unittest.cc |
diff --git a/google_apis/gcm/gcm_client_impl_unittest.cc b/google_apis/gcm/gcm_client_impl_unittest.cc |
index 7320c003a0d8199c6bc09adc7ff86ffd259b1208..d883252c3a96d46cb7c96ae084b4355f7defa3f9 100644 |
--- a/google_apis/gcm/gcm_client_impl_unittest.cc |
+++ b/google_apis/gcm/gcm_client_impl_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "google_apis/gcm/base/mcs_util.h" |
#include "google_apis/gcm/engine/fake_connection_factory.h" |
#include "google_apis/gcm/engine/fake_connection_handler.h" |
+#include "google_apis/gcm/gcm_stats_recorder.h" |
#include "google_apis/gcm/protocol/android_checkin.pb.h" |
#include "google_apis/gcm/protocol/checkin.pb.h" |
#include "google_apis/gcm/protocol/mcs.pb.h" |
@@ -79,11 +80,12 @@ class FakeMCSClient : public MCSClient { |
uint64 last_security_token_; |
uint8 last_message_tag_; |
mcs_proto::DataMessageStanza last_data_message_stanza_; |
+ gcm::GCMStatsRecorder recorder_; |
}; |
FakeMCSClient::FakeMCSClient(base::Clock* clock, |
ConnectionFactory* connection_factory) |
- : MCSClient("", clock, connection_factory, NULL), |
+ : MCSClient("", clock, connection_factory, NULL, & recorder_), |
last_android_id_(0u), |
last_security_token_(0u), |
last_message_tag_(kNumProtoTypes) { |