| 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 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 // Get input values. | 93 // Get input values. |
| 94 std::string GetSsid() const; | 94 std::string GetSsid() const; |
| 95 std::string GetPassphrase() const; | 95 std::string GetPassphrase() const; |
| 96 bool GetSaveCredentials() const; | 96 bool GetSaveCredentials() const; |
| 97 bool GetShareNetwork(bool share_default) const; | 97 bool GetShareNetwork(bool share_default) const; |
| 98 | 98 |
| 99 // Get various 802.1X EAP values from the widgets. | 99 // Get various 802.1X EAP values from the widgets. |
| 100 EAPMethod GetEapMethod() const; | 100 EAPMethod GetEapMethod() const; |
| 101 EAPPhase2Auth GetEapPhase2Auth() const; | 101 EAPPhase2Auth GetEapPhase2Auth() const; |
| 102 std::string GetEapServerCaCertNssNickname() const; | 102 std::string GetEapServerCaCertFingerprint() const; |
| 103 bool GetEapUseSystemCas() const; | 103 bool GetEapUseSystemCas() const; |
| 104 std::string GetEapClientCertPkcs11Id() const; | 104 std::string GetEapClientCertPkcs11Id() const; |
| 105 std::string GetEapIdentity() const; | 105 std::string GetEapIdentity() const; |
| 106 std::string GetEapAnonymousIdentity() const; | 106 std::string GetEapAnonymousIdentity() const; |
| 107 | 107 |
| 108 // Returns true if the EAP method requires a user certificate. | 108 // Returns true if the EAP method requires a user certificate. |
| 109 bool UserCertRequired() const; | 109 bool UserCertRequired() const; |
| 110 | 110 |
| 111 // Returns true if at least one user certificate is installed. | 111 // Returns true if at least one user certificate is installed. |
| 112 bool HaveUserCerts() const; | 112 bool HaveUserCerts() const; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 views::Textfield* passphrase_textfield_; | 173 views::Textfield* passphrase_textfield_; |
| 174 views::ToggleImageButton* passphrase_visible_button_; | 174 views::ToggleImageButton* passphrase_visible_button_; |
| 175 views::Label* error_label_; | 175 views::Label* error_label_; |
| 176 | 176 |
| 177 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); | 177 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 } // namespace chromeos | 180 } // namespace chromeos |
| 181 | 181 |
| 182 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ | 182 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ |
| OLD | NEW |