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

Side by Side Diff: components/invalidation/invalidation_notifier_unittest.cc

Issue 400073003: Finish decoupling sync and invalidations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix GN Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/invalidation_notifier.h" 5 #include "components/invalidation/invalidation_notifier.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "components/invalidation/fake_invalidation_handler.h" 9 #include "components/invalidation/fake_invalidation_handler.h"
10 #include "components/invalidation/fake_invalidation_state_tracker.h" 10 #include "components/invalidation/fake_invalidation_state_tracker.h"
11 #include "components/invalidation/invalidation_state_tracker.h" 11 #include "components/invalidation/invalidation_state_tracker.h"
12 #include "components/invalidation/invalidator_test_template.h" 12 #include "components/invalidation/invalidator_test_template.h"
13 #include "components/invalidation/push_client_channel.h" 13 #include "components/invalidation/push_client_channel.h"
14 #include "jingle/notifier/base/fake_base_task.h" 14 #include "jingle/notifier/base/fake_base_task.h"
15 #include "jingle/notifier/base/notifier_options.h" 15 #include "jingle/notifier/base/notifier_options.h"
16 #include "jingle/notifier/listener/fake_push_client.h" 16 #include "jingle/notifier/listener/fake_push_client.h"
17 #include "net/url_request/url_request_test_util.h" 17 #include "net/url_request/url_request_test_util.h"
18 #include "sync/internal_api/public/base/model_type.h"
19 #include "sync/internal_api/public/util/weak_handle.h" 18 #include "sync/internal_api/public/util/weak_handle.h"
20 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
21 20
22 namespace syncer { 21 namespace syncer {
23 22
24 namespace { 23 namespace {
25 24
26 class InvalidationNotifierTestDelegate { 25 class InvalidationNotifierTestDelegate {
27 public: 26 public:
28 InvalidationNotifierTestDelegate() {} 27 InvalidationNotifierTestDelegate() {}
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 scoped_ptr<InvalidationNotifier> invalidator_; 82 scoped_ptr<InvalidationNotifier> invalidator_;
84 }; 83 };
85 84
86 INSTANTIATE_TYPED_TEST_CASE_P( 85 INSTANTIATE_TYPED_TEST_CASE_P(
87 InvalidationNotifierTest, InvalidatorTest, 86 InvalidationNotifierTest, InvalidatorTest,
88 InvalidationNotifierTestDelegate); 87 InvalidationNotifierTestDelegate);
89 88
90 } // namespace 89 } // namespace
91 90
92 } // namespace syncer 91 } // namespace syncer
OLDNEW
« no previous file with comments | « components/invalidation/invalidation_notifier.h ('k') | components/invalidation/invalidation_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698