OLD | NEW |
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/auto_connect_handler.h" | 5 #include "chromeos/network/auto_connect_handler.h" |
6 | 6 |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
10 #include "base/location.h" | 10 #include "base/location.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 "base/values.h" | 13 #include "base/values.h" |
14 #include "chromeos/dbus/dbus_thread_manager.h" | 14 #include "chromeos/dbus/dbus_thread_manager.h" |
15 #include "chromeos/dbus/shill_manager_client.h" | 15 #include "chromeos/dbus/shill_manager_client.h" |
16 #include "chromeos/dbus/shill_service_client.h" | 16 #include "chromeos/dbus/shill_service_client.h" |
17 #include "chromeos/network/device_state.h" | 17 #include "chromeos/network/device_state.h" |
18 #include "chromeos/network/managed_network_configuration_handler.h" | 18 #include "chromeos/network/managed_network_configuration_handler.h" |
19 #include "chromeos/network/network_connection_handler.h" | 19 #include "chromeos/network/network_connection_handler.h" |
20 #include "chromeos/network/network_event_log.h" | 20 #include "chromeos/network/network_event_log.h" |
21 #include "chromeos/network/network_state.h" | 21 #include "chromeos/network/network_state.h" |
22 #include "chromeos/network/network_type_pattern.h" | 22 #include "chromeos/network/network_type_pattern.h" |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 void AutoConnectHandler::CallShillConnectToBestServices() const { | 257 void AutoConnectHandler::CallShillConnectToBestServices() const { |
258 NET_LOG_EVENT("ConnectToBestServices", ""); | 258 NET_LOG_EVENT("ConnectToBestServices", ""); |
259 DBusThreadManager::Get()->GetShillManagerClient()->ConnectToBestServices( | 259 DBusThreadManager::Get()->GetShillManagerClient()->ConnectToBestServices( |
260 base::Bind(&base::DoNothing), | 260 base::Bind(&base::DoNothing), |
261 base::Bind(&network_handler::ShillErrorCallbackFunction, | 261 base::Bind(&network_handler::ShillErrorCallbackFunction, |
262 "ConnectToBestServices Failed", | 262 "ConnectToBestServices Failed", |
263 "", network_handler::ErrorCallback())); | 263 "", network_handler::ErrorCallback())); |
264 } | 264 } |
265 | 265 |
266 } // namespace chromeos | 266 } // namespace chromeos |
OLD | NEW |