| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 virtual void InitFocus() OVERRIDE; | 67 virtual void InitFocus() OVERRIDE; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 // Initializes UI. If |show_8021x| includes 802.1x config options. | 70 // Initializes UI. If |show_8021x| includes 802.1x config options. |
| 71 void Init(WifiNetwork* wifi, bool show_8021x); | 71 void Init(WifiNetwork* wifi, bool show_8021x); |
| 72 | 72 |
| 73 // Get input values. | 73 // Get input values. |
| 74 std::string GetSsid() const; | 74 std::string GetSsid() const; |
| 75 std::string GetPassphrase() const; | 75 std::string GetPassphrase() const; |
| 76 bool GetSaveCredentials() const; | 76 bool GetSaveCredentials() const; |
| 77 bool GetShareNetwork() const; | 77 bool GetShareNetwork(bool share_default) const; |
| 78 | 78 |
| 79 // Get various 802.1X EAP values from the widgets. | 79 // Get various 802.1X EAP values from the widgets. |
| 80 EAPMethod GetEapMethod() const; | 80 EAPMethod GetEapMethod() const; |
| 81 EAPPhase2Auth GetEapPhase2Auth() const; | 81 EAPPhase2Auth GetEapPhase2Auth() const; |
| 82 std::string GetEapServerCaCertNssNickname() const; | 82 std::string GetEapServerCaCertNssNickname() const; |
| 83 bool GetEapUseSystemCas() const; | 83 bool GetEapUseSystemCas() const; |
| 84 std::string GetEapClientCertPkcs11Id() const; | 84 std::string GetEapClientCertPkcs11Id() const; |
| 85 std::string GetEapIdentity() const; | 85 std::string GetEapIdentity() const; |
| 86 std::string GetEapAnonymousIdentity() const; | 86 std::string GetEapAnonymousIdentity() const; |
| 87 | 87 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 views::Textfield* passphrase_textfield_; | 128 views::Textfield* passphrase_textfield_; |
| 129 views::ImageButton* passphrase_visible_button_; | 129 views::ImageButton* passphrase_visible_button_; |
| 130 views::Label* error_label_; | 130 views::Label* error_label_; |
| 131 | 131 |
| 132 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); | 132 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace chromeos | 135 } // namespace chromeos |
| 136 | 136 |
| 137 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ | 137 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ |
| OLD | NEW |