Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1112)

Unified Diff: components/gcm_driver/gcm_stats_recorder_impl_unittest.cc

Issue 1515153003: Enable chrome://gcm-internals on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_impl.cc ('k') | components/gcm_driver/resources/gcm_internals.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bb8ea313c62ab0fe8d28db61365b2f793aab9186..7dafbaa96aec4809ef4d05ad874d2721a3a333c7 100644
--- a/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc
+++ b/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc
@@ -350,7 +350,7 @@ GCMStatsRecorderImplTest::~GCMStatsRecorderImplTest() {}
void GCMStatsRecorderImplTest::SetUp(){
source_ = "s1,s2";
- recorder_.SetRecording(true);
+ recorder_.set_is_recording(true);
}
TEST_F(GCMStatsRecorderImplTest, StartStopRecordingTest) {
@@ -359,7 +359,7 @@ TEST_F(GCMStatsRecorderImplTest, StartStopRecordingTest) {
VerifyRecordedSendingCount(1);
VerifyDataSentToWire("1st call");
- recorder_.SetRecording(false);
+ recorder_.set_is_recording(false);
EXPECT_FALSE(recorder_.is_recording());
recorder_.Clear();
VerifyAllActivityQueueEmpty("all cleared");
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_impl.cc ('k') | components/gcm_driver/resources/gcm_internals.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698