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

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

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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/gcm_invalidation_bridge.h" 5 #include "components/invalidation/impl/gcm_invalidation_bridge.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "components/gcm_driver/fake_gcm_driver.h" 15 #include "components/gcm_driver/fake_gcm_driver.h"
16 #include "components/gcm_driver/gcm_driver.h" 16 #include "components/gcm_driver/gcm_driver.h"
17 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h" 17 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h"
18 #include "google_apis/gaia/fake_identity_provider.h" 18 #include "google_apis/gaia/fake_identity_provider.h"
19 #include "google_apis/gaia/google_service_auth_error.h" 19 #include "google_apis/gaia/google_service_auth_error.h"
20 #include "net/base/ip_endpoint.h" 20 #include "net/base/ip_endpoint.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 namespace invalidation { 23 namespace invalidation {
24 namespace { 24 namespace {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 bridge_->OnConnected(net::IPEndPoint()); 151 bridge_->OnConnected(net::IPEndPoint());
152 RunLoop(); 152 RunLoop();
153 EXPECT_TRUE(connection_online_); 153 EXPECT_TRUE(connection_online_);
154 bridge_->OnDisconnected(); 154 bridge_->OnDisconnected();
155 RunLoop(); 155 RunLoop();
156 EXPECT_FALSE(connection_online_); 156 EXPECT_FALSE(connection_online_);
157 } 157 }
158 158
159 } // namespace 159 } // namespace
160 } // namespace invalidation 160 } // namespace invalidation
OLDNEW
« no previous file with comments | « components/invalidation/impl/gcm_invalidation_bridge.cc ('k') | components/invalidation/impl/gcm_network_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698