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_util.h" | 5 #include "chromeos/network/network_util.h" |
6 | 6 |
7 #include "base/strings/string_tokenizer.h" | 7 #include "base/strings/string_tokenizer.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "chromeos/network/favorite_state.h" | 10 #include "chromeos/network/favorite_state.h" |
11 #include "chromeos/network/network_state.h" | 11 #include "chromeos/network/network_state.h" |
12 #include "chromeos/network/network_state_handler.h" | 12 #include "chromeos/network/network_state_handler.h" |
13 #include "chromeos/network/onc/onc_signature.h" | 13 #include "chromeos/network/onc/onc_signature.h" |
14 #include "chromeos/network/onc/onc_translator.h" | 14 #include "chromeos/network/onc/onc_translator.h" |
15 #include "chromeos/network/shill_property_util.h" | |
16 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
17 | 16 |
18 namespace chromeos { | 17 namespace chromeos { |
19 | 18 |
20 WifiAccessPoint::WifiAccessPoint() | 19 WifiAccessPoint::WifiAccessPoint() |
21 : signal_strength(0), | 20 : signal_strength(0), |
22 signal_to_noise(0), | 21 signal_to_noise(0), |
23 channel(0) { | 22 channel(0) { |
24 } | 23 } |
25 | 24 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 onc_dictionary->SetString("onc_source", onc_source); | 187 onc_dictionary->SetString("onc_source", onc_source); |
189 } | 188 } |
190 | 189 |
191 network_properties_list->Append(onc_dictionary.release()); | 190 network_properties_list->Append(onc_dictionary.release()); |
192 } | 191 } |
193 return network_properties_list.Pass(); | 192 return network_properties_list.Pass(); |
194 } | 193 } |
195 | 194 |
196 } // namespace network_util | 195 } // namespace network_util |
197 } // namespace chromeos | 196 } // namespace chromeos |
OLD | NEW |