| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/fake_shill_service_client.h" | 5 #include "chromeos/dbus/fake_shill_service_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| 11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
| 12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "chromeos/dbus/dbus_thread_manager.h" | 15 #include "chromeos/dbus/dbus_thread_manager.h" |
| 16 #include "chromeos/dbus/shill_device_client.h" | 16 #include "chromeos/dbus/shill_device_client.h" |
| 17 #include "chromeos/dbus/shill_manager_client.h" | 17 #include "chromeos/dbus/shill_manager_client.h" |
| 18 #include "chromeos/dbus/shill_profile_client.h" | 18 #include "chromeos/dbus/shill_profile_client.h" |
| 19 #include "chromeos/dbus/shill_property_changed_observer.h" | 19 #include "chromeos/dbus/shill_property_changed_observer.h" |
| 20 #include "chromeos/network/shill_property_util.h" | 20 #include "chromeos/network/shill_property_util.h" |
| 21 #include "dbus/bus.h" | 21 #include "dbus/bus.h" |
| 22 #include "dbus/message.h" | 22 #include "dbus/message.h" |
| 23 #include "dbus/object_path.h" | 23 #include "dbus/object_path.h" |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 base::StringValue(shill::kErrorBadPassphrase))); | 630 base::StringValue(shill::kErrorBadPassphrase))); |
| 631 } else { | 631 } else { |
| 632 // Set Online. | 632 // Set Online. |
| 633 VLOG(1) << "Setting state to Online " << service_path; | 633 VLOG(1) << "Setting state to Online " << service_path; |
| 634 SetServiceProperty(service_path, shill::kStateProperty, | 634 SetServiceProperty(service_path, shill::kStateProperty, |
| 635 base::StringValue(shill::kStateOnline)); | 635 base::StringValue(shill::kStateOnline)); |
| 636 } | 636 } |
| 637 } | 637 } |
| 638 | 638 |
| 639 } // namespace chromeos | 639 } // namespace chromeos |
| OLD | NEW |