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

Side by Side Diff: components/invalidation/impl/invalidation_service_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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/invalidation/impl/invalidation_service_android.h" 5 #include "components/invalidation/impl/invalidation_service_android.h"
6 6
7 #include "base/android/context_utils.h" 7 #include "base/android/context_utils.h"
8 #include "build/build_config.h"
8 #include "components/invalidation/impl/fake_invalidation_handler.h" 9 #include "components/invalidation/impl/fake_invalidation_handler.h"
9 #include "components/invalidation/impl/invalidation_service_test_template.h" 10 #include "components/invalidation/impl/invalidation_service_test_template.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 12
12 namespace invalidation { 13 namespace invalidation {
13 14
14 #if defined(OS_ANDROID) 15 #if defined(OS_ANDROID)
15 16
16 class InvalidationServiceAndroidTest : public testing::Test { 17 class InvalidationServiceAndroidTest : public testing::Test {
17 public: 18 public:
(...skipping 14 matching lines...) Expand all
32 ASSERT_FALSE(id1.empty()); 33 ASSERT_FALSE(id1.empty());
33 34
34 // If nothing else, the ID should be consistent. 35 // If nothing else, the ID should be consistent.
35 const std::string id2 = invalidation_service().GetInvalidatorClientId(); 36 const std::string id2 = invalidation_service().GetInvalidatorClientId();
36 ASSERT_EQ(id1, id2); 37 ASSERT_EQ(id1, id2);
37 } 38 }
38 39
39 #endif 40 #endif
40 41
41 } // namespace invalidation 42 } // namespace invalidation
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698