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

Side by Side Diff: components/gcm_driver/gcm_stats_recorder_android_unittest.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 11 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/gcm_driver/gcm_stats_recorder_android.h" 5 #include "components/gcm_driver/gcm_stats_recorder_android.h"
6 6
7 #include <stddef.h>
8
7 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
8 10
9 namespace gcm { 11 namespace gcm {
10 12
11 namespace { 13 namespace {
12 14
13 const char kTestAppId[] = "test_app_id"; 15 const char kTestAppId[] = "test_app_id";
14 16
15 class GCMStatsRecorderAndroidTest : public ::testing::Test, 17 class GCMStatsRecorderAndroidTest : public ::testing::Test,
16 public GCMStatsRecorderAndroid::Delegate { 18 public GCMStatsRecorderAndroid::Delegate {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 97
96 RecordedActivities activities; 98 RecordedActivities activities;
97 recorder.CollectActivities(&activities); 99 recorder.CollectActivities(&activities);
98 100
99 EXPECT_EQ(0u, activities.registration_activities.size()); 101 EXPECT_EQ(0u, activities.registration_activities.size());
100 } 102 }
101 103
102 } // namespace 104 } // namespace
103 105
104 } // namespace gcm 106 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_android.cc ('k') | components/gcm_driver/gcm_stats_recorder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698