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/options/wifi_config_view.h" | 5 #include "chrome/browser/chromeos/options/wifi_config_view.h" |
6 | 6 |
7 #include "ash/system/chromeos/network/network_connect.h" | 7 #include "ash/system/chromeos/network/network_connect.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "chrome/browser/chromeos/enrollment_dialog_view.h" | 12 #include "chrome/browser/chromeos/enrollment_dialog_view.h" |
13 #include "chrome/browser/chromeos/net/onc_utils.h" | 13 #include "chrome/browser/chromeos/net/onc_utils.h" |
14 #include "chrome/browser/chromeos/options/passphrase_textfield.h" | 14 #include "chrome/browser/chromeos/options/passphrase_textfield.h" |
15 #include "chrome/browser/profiles/profile_manager.h" | 15 #include "chrome/browser/profiles/profile_manager.h" |
16 #include "chromeos/login/login_state.h" | 16 #include "chromeos/login/login_state.h" |
17 #include "chromeos/network/favorite_state.h" | |
18 #include "chromeos/network/network_configuration_handler.h" | 17 #include "chromeos/network/network_configuration_handler.h" |
19 #include "chromeos/network/network_event_log.h" | 18 #include "chromeos/network/network_event_log.h" |
20 #include "chromeos/network/network_handler.h" | 19 #include "chromeos/network/network_handler.h" |
21 #include "chromeos/network/network_state.h" | 20 #include "chromeos/network/network_state.h" |
22 #include "chromeos/network/network_state_handler.h" | 21 #include "chromeos/network/network_state_handler.h" |
23 #include "chromeos/network/network_ui_data.h" | 22 #include "chromeos/network/network_ui_data.h" |
24 #include "chromeos/network/shill_property_util.h" | 23 #include "chromeos/network/shill_property_util.h" |
25 #include "chromeos/tpm_token_loader.h" | 24 #include "chromeos/tpm_token_loader.h" |
26 #include "components/onc/onc_constants.h" | 25 #include "components/onc/onc_constants.h" |
27 #include "grit/chromium_strings.h" | 26 #include "grit/chromium_strings.h" |
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1375 void WifiConfigView::ParseEAPUIProperty(NetworkPropertyUIData* property_ui_data, | 1374 void WifiConfigView::ParseEAPUIProperty(NetworkPropertyUIData* property_ui_data, |
1376 const NetworkState* network, | 1375 const NetworkState* network, |
1377 const std::string& key) { | 1376 const std::string& key) { |
1378 std::string onc_tag = network->type() == shill::kTypeEthernet | 1377 std::string onc_tag = network->type() == shill::kTypeEthernet |
1379 ? ::onc::ethernet::kEAP | 1378 ? ::onc::ethernet::kEAP |
1380 : ::onc::wifi::kEAP; | 1379 : ::onc::wifi::kEAP; |
1381 ParseUIProperty(property_ui_data, network, onc_tag + '.' + key); | 1380 ParseUIProperty(property_ui_data, network, onc_tag + '.' + key); |
1382 } | 1381 } |
1383 | 1382 |
1384 } // namespace chromeos | 1383 } // namespace chromeos |
OLD | NEW |