| Index: components/gcm_driver/gcm_stats_recorder_android_unittest.cc
|
| diff --git a/components/gcm_driver/gcm_stats_recorder_android_unittest.cc b/components/gcm_driver/gcm_stats_recorder_android_unittest.cc
|
| index d71f4666700a020a1251621db8f1b9d757f51883..e7b32673922db85796b6e68a81ede17d9787582e 100644
|
| --- a/components/gcm_driver/gcm_stats_recorder_android_unittest.cc
|
| +++ b/components/gcm_driver/gcm_stats_recorder_android_unittest.cc
|
| @@ -14,6 +14,7 @@ namespace gcm {
|
| namespace {
|
|
|
| const char kTestAppId[] = "test_app_id";
|
| +const char kTestSenderId[] = "test_sender_id";
|
|
|
| class GCMStatsRecorderAndroidTest : public ::testing::Test,
|
| public GCMStatsRecorderAndroid::Delegate {
|
| @@ -53,7 +54,8 @@ TEST_F(GCMStatsRecorderAndroidTest, RecordsAndCallsDelegate) {
|
| recorder.RecordUnregistrationResponse(kTestAppId, true /* success */);
|
| EXPECT_EQ(4u, activity_recorded_calls());
|
|
|
| - recorder.RecordDataMessageReceived(kTestAppId, 42 /* message_byte_size */);
|
| + recorder.RecordDataMessageReceived(kTestAppId, kTestSenderId,
|
| + 42 /* message_byte_size */);
|
| EXPECT_EQ(5u, activity_recorded_calls());
|
|
|
| recorder.RecordDecryptionFailure(
|
|
|