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

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

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 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
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 <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 "components/invalidation/impl/push_client_channel.h"
9 #include "jingle/notifier/listener/fake_push_client.h" 9 #include "jingle/notifier/listener/fake_push_client.h"
10 #include "jingle/notifier/listener/notification_defines.h" 10 #include "jingle/notifier/listener/notification_defines.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 {
(...skipping 224 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/impl/push_client_channel.cc ('k') | components/invalidation/impl/registration_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698