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

Side by Side Diff: chromeos/dbus/services/proxy_resolution_service_provider_unittest.cc

Issue 1966093003: Fix include path for moved thread_task_runner_handle.h header in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: 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 (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 "chromeos/dbus/services/proxy_resolution_service_provider.h" 5 #include "chromeos/dbus/services/proxy_resolution_service_provider.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "chromeos/dbus/services/service_provider_test_helper.h" 13 #include "chromeos/dbus/services/service_provider_test_helper.h"
14 #include "dbus/message.h" 14 #include "dbus/message.h"
15 #include "net/url_request/url_request_test_util.h" 15 #include "net/url_request/url_request_test_util.h"
16 #include "third_party/cros_system_api/dbus/service_constants.h" 16 #include "third_party/cros_system_api/dbus/service_constants.h"
17 17
18 namespace chromeos { 18 namespace chromeos {
19 19
20 namespace { 20 namespace {
21 21
22 // ProxyResolutionServiceProvider will return the proxy info as a D-Bus 22 // ProxyResolutionServiceProvider will return the proxy info as a D-Bus
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 dbus::MessageReader reader(response.get()); 125 dbus::MessageReader reader(response.get());
126 EXPECT_FALSE(reader.HasMoreData()); 126 EXPECT_FALSE(reader.HasMoreData());
127 127
128 // Confirm that the signal is received successfully. 128 // Confirm that the signal is received successfully.
129 EXPECT_EQ(kSourceURL, source_url_); 129 EXPECT_EQ(kSourceURL, source_url_);
130 EXPECT_EQ("DIRECT", proxy_info_); 130 EXPECT_EQ("DIRECT", proxy_info_);
131 EXPECT_EQ("", error_message_); 131 EXPECT_EQ("", error_message_);
132 } 132 }
133 133
134 } // namespace chromeos 134 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/services/proxy_resolution_service_provider.cc ('k') | chromeos/dbus/shill_client_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698