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

Side by Side Diff: components/invalidation/impl/invalidation_service_android_unittest.cc

Issue 1475773002: Add context_utils.h includes where needed. (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 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/jni_android.h" 7 #include "base/android/context_utils.h"
8 #include "components/invalidation/impl/fake_invalidation_handler.h" 8 #include "components/invalidation/impl/fake_invalidation_handler.h"
9 #include "components/invalidation/impl/invalidation_service_test_template.h" 9 #include "components/invalidation/impl/invalidation_service_test_template.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace invalidation { 12 namespace invalidation {
13 13
14 #if defined(OS_ANDROID) 14 #if defined(OS_ANDROID)
15 15
16 class InvalidationServiceAndroidTest : public testing::Test { 16 class InvalidationServiceAndroidTest : public testing::Test {
17 public: 17 public:
(...skipping 14 matching lines...) Expand all
32 ASSERT_FALSE(id1.empty()); 32 ASSERT_FALSE(id1.empty());
33 33
34 // If nothing else, the ID should be consistent. 34 // If nothing else, the ID should be consistent.
35 const std::string id2 = invalidation_service().GetInvalidatorClientId(); 35 const std::string id2 = invalidation_service().GetInvalidatorClientId();
36 ASSERT_EQ(id1, id2); 36 ASSERT_EQ(id1, id2);
37 } 37 }
38 38
39 #endif 39 #endif
40 40
41 } // namespace invalidation 41 } // namespace invalidation
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_driver_android.cc ('k') | components/resource_provider/android/android_hooks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698