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

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

Issue 294123004: Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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
« no previous file with comments | « components/invalidation/push_client_channel.cc ('k') | components/invalidation/state_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 5 #include <string>
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "components/invalidation/push_client_channel.h"
8 #include "jingle/notifier/listener/fake_push_client.h" 9 #include "jingle/notifier/listener/fake_push_client.h"
9 #include "jingle/notifier/listener/notification_defines.h" 10 #include "jingle/notifier/listener/notification_defines.h"
10 #include "sync/notifier/push_client_channel.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 namespace { 14 namespace {
15 15
16 class PushClientChannelTest 16 class PushClientChannelTest
17 : public ::testing::Test, 17 : public ::testing::Test,
18 public SyncNetworkChannel::Observer { 18 public SyncNetworkChannel::Observer {
19 protected: 19 protected:
20 PushClientChannelTest() 20 PushClientChannelTest()
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 &service_context, 243 &service_context,
244 &scheduling_hash)); 244 &scheduling_hash));
245 EXPECT_EQ(kMessage, message); 245 EXPECT_EQ(kMessage, message);
246 EXPECT_EQ(kServiceContext, service_context); 246 EXPECT_EQ(kServiceContext, service_context);
247 EXPECT_EQ(kSchedulingHash, scheduling_hash); 247 EXPECT_EQ(kSchedulingHash, scheduling_hash);
248 } 248 }
249 } 249 }
250 250
251 } // namespace 251 } // namespace
252 } // namespace syncer 252 } // namespace syncer
OLDNEW
« no previous file with comments | « components/invalidation/push_client_channel.cc ('k') | components/invalidation/state_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698