OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_state_handler.h" | 5 #include "chromeos/network/network_state_handler.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/format_macros.h" | 8 #include "base/format_macros.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "chromeos/network/device_state.h" | 13 #include "chromeos/network/device_state.h" |
14 #include "chromeos/network/managed_state.h" | 14 #include "chromeos/network/managed_state.h" |
15 #include "chromeos/network/network_event_log.h" | 15 #include "chromeos/network/network_event_log.h" |
16 #include "chromeos/network/network_state.h" | 16 #include "chromeos/network/network_state.h" |
17 #include "chromeos/network/network_state_handler_observer.h" | 17 #include "chromeos/network/network_state_handler_observer.h" |
18 #include "chromeos/network/shill_property_handler.h" | 18 #include "chromeos/network/shill_property_handler.h" |
19 #include "third_party/cros_system_api/dbus/service_constants.h" | 19 #include "third_party/cros_system_api/dbus/service_constants.h" |
20 | 20 |
21 namespace { | 21 namespace { |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 } | 616 } |
617 if (type == kMatchTypeDefault || type == kMatchTypeNonVirtual || | 617 if (type == kMatchTypeDefault || type == kMatchTypeNonVirtual || |
618 type == kMatchTypeWireless) { | 618 type == kMatchTypeWireless) { |
619 NOTREACHED(); | 619 NOTREACHED(); |
620 return flimflam::kTypeWifi; | 620 return flimflam::kTypeWifi; |
621 } | 621 } |
622 return type; | 622 return type; |
623 } | 623 } |
624 | 624 |
625 } // namespace chromeos | 625 } // namespace chromeos |
OLD | NEW |