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

Side by Side Diff: components/invalidation/impl/sync_system_resources_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, 12 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 "components/invalidation/impl/sync_system_resources.h" 5 #include "components/invalidation/impl/sync_system_resources.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 14
14 #include "components/invalidation/impl/push_client_channel.h" 15 #include "components/invalidation/impl/push_client_channel.h"
15 #include "components/invalidation/impl/state_writer.h" 16 #include "components/invalidation/impl/state_writer.h"
16 #include "google/cacheinvalidation/include/types.h" 17 #include "google/cacheinvalidation/include/types.h"
17 #include "jingle/notifier/listener/fake_push_client.h" 18 #include "jingle/notifier/listener/fake_push_client.h"
18 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
19 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
20 21
21 namespace syncer { 22 namespace syncer {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 TEST_F(SyncNetworkChannelTest, NetworkStateChange) { 242 TEST_F(SyncNetworkChannelTest, NetworkStateChange) {
242 EXPECT_FALSE(connected_); 243 EXPECT_FALSE(connected_);
243 network_channel_.NotifyNetworkStatusChange(true); 244 network_channel_.NotifyNetworkStatusChange(true);
244 EXPECT_TRUE(connected_); 245 EXPECT_TRUE(connected_);
245 network_channel_.NotifyNetworkStatusChange(false); 246 network_channel_.NotifyNetworkStatusChange(false);
246 EXPECT_FALSE(connected_); 247 EXPECT_FALSE(connected_);
247 } 248 }
248 249
249 } // namespace 250 } // namespace
250 } // namespace syncer 251 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698