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 #include <string> | |
8 | 7 |
9 #include "base/bind.h" | 8 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
11 #include "base/location.h" | 10 #include "base/location.h" |
12 #include "base/message_loop/message_loop_proxy.h" | 11 #include "base/message_loop/message_loop_proxy.h" |
13 #include "base/values.h" | 12 #include "base/values.h" |
14 #include "chromeos/dbus/dbus_thread_manager.h" | 13 #include "chromeos/dbus/dbus_thread_manager.h" |
15 #include "chromeos/dbus/shill_manager_client.h" | 14 #include "chromeos/dbus/shill_manager_client.h" |
16 #include "chromeos/dbus/shill_service_client.h" | 15 #include "chromeos/dbus/shill_service_client.h" |
17 #include "chromeos/network/device_state.h" | 16 #include "chromeos/network/device_state.h" |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 void AutoConnectHandler::CallShillConnectToBestServices() const { | 246 void AutoConnectHandler::CallShillConnectToBestServices() const { |
248 NET_LOG_EVENT("ConnectToBestServices", ""); | 247 NET_LOG_EVENT("ConnectToBestServices", ""); |
249 DBusThreadManager::Get()->GetShillManagerClient()->ConnectToBestServices( | 248 DBusThreadManager::Get()->GetShillManagerClient()->ConnectToBestServices( |
250 base::Bind(&base::DoNothing), | 249 base::Bind(&base::DoNothing), |
251 base::Bind(&network_handler::ShillErrorCallbackFunction, | 250 base::Bind(&network_handler::ShillErrorCallbackFunction, |
252 "ConnectToBestServices Failed", | 251 "ConnectToBestServices Failed", |
253 "", network_handler::ErrorCallback())); | 252 "", network_handler::ErrorCallback())); |
254 } | 253 } |
255 | 254 |
256 } // namespace chromeos | 255 } // namespace chromeos |
OLD | NEW |