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 "chrome/browser/chromeos/cros/network_library.h" | 5 #include "chrome/browser/chromeos/cros/network_library.h" |
6 | 6 |
7 #include <dbus/dbus-glib.h> | 7 #include <dbus/dbus-glib.h> |
8 | 8 |
9 #include "base/i18n/icu_encoding_detection.h" | 9 #include "base/i18n/icu_encoding_detection.h" |
10 #include "base/i18n/icu_string_conversions.h" | 10 #include "base/i18n/icu_string_conversions.h" |
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1159 } | 1159 } |
1160 | 1160 |
1161 //////////////////////////////////////////////////////////////////////////////// | 1161 //////////////////////////////////////////////////////////////////////////////// |
1162 // WifiNetwork | 1162 // WifiNetwork |
1163 | 1163 |
1164 WifiNetwork::WifiNetwork(const std::string& service_path) | 1164 WifiNetwork::WifiNetwork(const std::string& service_path) |
1165 : WirelessNetwork(service_path, TYPE_WIFI), | 1165 : WirelessNetwork(service_path, TYPE_WIFI), |
1166 encryption_(SECURITY_NONE), | 1166 encryption_(SECURITY_NONE), |
1167 passphrase_required_(false), | 1167 passphrase_required_(false), |
1168 hidden_ssid_(false), | 1168 hidden_ssid_(false), |
| 1169 frequency_(0), |
1169 eap_method_(EAP_METHOD_UNKNOWN), | 1170 eap_method_(EAP_METHOD_UNKNOWN), |
1170 eap_phase_2_auth_(EAP_PHASE_2_AUTH_AUTO), | 1171 eap_phase_2_auth_(EAP_PHASE_2_AUTH_AUTO), |
1171 eap_use_system_cas_(true), | 1172 eap_use_system_cas_(true), |
1172 eap_save_credentials_(false), | 1173 eap_save_credentials_(false), |
1173 ALLOW_THIS_IN_INITIALIZER_LIST(weak_pointer_factory_(this)) { | 1174 ALLOW_THIS_IN_INITIALIZER_LIST(weak_pointer_factory_(this)) { |
1174 } | 1175 } |
1175 | 1176 |
1176 WifiNetwork::~WifiNetwork() {} | 1177 WifiNetwork::~WifiNetwork() {} |
1177 | 1178 |
1178 void WifiNetwork::CalculateUniqueId() { | 1179 void WifiNetwork::CalculateUniqueId() { |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1472 NetworkLibrary* impl; | 1473 NetworkLibrary* impl; |
1473 if (stub) | 1474 if (stub) |
1474 impl = new NetworkLibraryImplStub(); | 1475 impl = new NetworkLibraryImplStub(); |
1475 else | 1476 else |
1476 impl = new NetworkLibraryImplCros(); | 1477 impl = new NetworkLibraryImplCros(); |
1477 impl->Init(); | 1478 impl->Init(); |
1478 return impl; | 1479 return impl; |
1479 } | 1480 } |
1480 | 1481 |
1481 } // namespace chromeos | 1482 } // namespace chromeos |
OLD | NEW |