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

Side by Side Diff: chromeos/network/host_resolver_impl_chromeos_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 "chromeos/network/host_resolver_impl_chromeos.h" 5 #include "chromeos/network/host_resolver_impl_chromeos.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
13 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
14 #include "base/threading/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
15 #include "chromeos/dbus/dbus_thread_manager.h" 16 #include "chromeos/dbus/dbus_thread_manager.h"
16 #include "chromeos/dbus/shill_device_client.h" 17 #include "chromeos/dbus/shill_device_client.h"
17 #include "chromeos/dbus/shill_ipconfig_client.h" 18 #include "chromeos/dbus/shill_ipconfig_client.h"
18 #include "chromeos/dbus/shill_service_client.h" 19 #include "chromeos/dbus/shill_service_client.h"
19 #include "chromeos/network/device_state.h" 20 #include "chromeos/network/device_state.h"
20 #include "chromeos/network/network_state.h" 21 #include "chromeos/network/network_state.h"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 info.set_address_family(net::ADDRESS_FAMILY_IPV6); 157 info.set_address_family(net::ADDRESS_FAMILY_IPV6);
157 EXPECT_EQ(net::OK, CallResolve(info)); 158 EXPECT_EQ(net::OK, CallResolve(info));
158 ASSERT_EQ(2u, addresses_.size()); 159 ASSERT_EQ(2u, addresses_.size());
159 expected = base::StringPrintf("[%s]:%d", kTestIPv6Address, 0); 160 expected = base::StringPrintf("[%s]:%d", kTestIPv6Address, 0);
160 EXPECT_EQ(expected, addresses_[0].ToString()); 161 EXPECT_EQ(expected, addresses_[0].ToString());
161 expected = base::StringPrintf("%s:%d", kTestIPv4Address, 0); 162 expected = base::StringPrintf("%s:%d", kTestIPv4Address, 0);
162 EXPECT_EQ(expected, addresses_[1].ToString()); 163 EXPECT_EQ(expected, addresses_[1].ToString());
163 } 164 }
164 165
165 } // namespace chromeos 166 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698