Index: components/gcm_driver/gcm_stats_recorder_impl_unittest.cc |
diff --git a/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc b/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc |
index 95fbbbf216a1ccced6c77b61942e9b7e64b3c978..f32ca95ddfadeeda8b9a831ab822a79024ac0958 100644 |
--- a/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc |
+++ b/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc |
@@ -485,6 +485,8 @@ TEST_F(GCMStatsRecorderImplTest, RegistrationTest) { |
} |
TEST_F(GCMStatsRecorderImplTest, RecordReceivingTest) { |
+ recorder_.RecordConnectionInitiated(std::string()); |
+ recorder_.RecordConnectionSuccess(); |
recorder_.RecordDataMessageReceived(kAppId, kFrom, kByteSize, true, |
GCMStatsRecorder::DATA_MESSAGE); |
VerifyRecordedReceivingCount(1); |