| 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 "chrome/grit/generated_resources.h" | 16 #include "chrome/grit/generated_resources.h" |
| 17 #include "chrome/grit/locale_settings.h" | |
| 18 #include "chrome/grit/theme_resources.h" | 17 #include "chrome/grit/theme_resources.h" |
| 19 #include "chromeos/login/login_state.h" | 18 #include "chromeos/login/login_state.h" |
| 20 #include "chromeos/network/client_cert_util.h" | 19 #include "chromeos/network/client_cert_util.h" |
| 21 #include "chromeos/network/network_configuration_handler.h" | 20 #include "chromeos/network/network_configuration_handler.h" |
| 22 #include "chromeos/network/network_event_log.h" | 21 #include "chromeos/network/network_event_log.h" |
| 23 #include "chromeos/network/network_handler.h" | 22 #include "chromeos/network/network_handler.h" |
| 24 #include "chromeos/network/network_state.h" | 23 #include "chromeos/network/network_state.h" |
| 25 #include "chromeos/network/network_state_handler.h" | 24 #include "chromeos/network/network_state_handler.h" |
| 26 #include "chromeos/network/network_ui_data.h" | 25 #include "chromeos/network/network_ui_data.h" |
| 27 #include "chromeos/network/shill_property_util.h" | 26 #include "chromeos/network/shill_property_util.h" |
| (...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 void WifiConfigView::ParseEAPUIProperty(NetworkPropertyUIData* property_ui_data, | 1376 void WifiConfigView::ParseEAPUIProperty(NetworkPropertyUIData* property_ui_data, |
| 1378 const NetworkState* network, | 1377 const NetworkState* network, |
| 1379 const std::string& key) { | 1378 const std::string& key) { |
| 1380 std::string onc_tag = network->type() == shill::kTypeEthernet | 1379 std::string onc_tag = network->type() == shill::kTypeEthernet |
| 1381 ? ::onc::ethernet::kEAP | 1380 ? ::onc::ethernet::kEAP |
| 1382 : ::onc::wifi::kEAP; | 1381 : ::onc::wifi::kEAP; |
| 1383 ParseUIProperty(property_ui_data, network, onc_tag + '.' + key); | 1382 ParseUIProperty(property_ui_data, network, onc_tag + '.' + key); |
| 1384 } | 1383 } |
| 1385 | 1384 |
| 1386 } // namespace chromeos | 1385 } // namespace chromeos |
| OLD | NEW |