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/network/network_device_handler_impl.h" | 5 #include "chromeos/network/network_device_handler_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "chromeos/dbus/dbus_thread_manager.h" | 18 #include "chromeos/dbus/dbus_thread_manager.h" |
19 #include "chromeos/dbus/shill_device_client.h" | 19 #include "chromeos/dbus/shill_device_client.h" |
20 #include "chromeos/dbus/shill_ipconfig_client.h" | 20 #include "chromeos/dbus/shill_ipconfig_client.h" |
21 #include "chromeos/network/device_state.h" | 21 #include "chromeos/network/device_state.h" |
22 #include "chromeos/network/network_state_handler.h" | 22 #include "chromeos/network/network_state_handler.h" |
23 #include "components/device_event_log/device_event_log.h" | 23 #include "components/device_event_log/device_event_log.h" |
24 #include "dbus/object_path.h" | 24 #include "dbus/object_path.h" |
25 #include "third_party/cros_system_api/dbus/service_constants.h" | 25 #include "third_party/cros_system_api/dbus/service_constants.h" |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 new base::DictionaryValue); | 575 new base::DictionaryValue); |
576 error_data->SetString(network_handler::kErrorName, kErrorDeviceMissing); | 576 error_data->SetString(network_handler::kErrorName, kErrorDeviceMissing); |
577 error_callback.Run(kErrorDeviceMissing, std::move(error_data)); | 577 error_callback.Run(kErrorDeviceMissing, std::move(error_data)); |
578 return NULL; | 578 return NULL; |
579 } | 579 } |
580 | 580 |
581 return device_state; | 581 return device_state; |
582 } | 582 } |
583 | 583 |
584 } // namespace chromeos | 584 } // namespace chromeos |
OLD | NEW |