Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: chrome/browser/chromeos/options/wifi_config_view.h

Issue 421113002: Use correct slot id for client certs in network config. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // Get various 802.1X EAP values from the widgets. 121 // Get various 802.1X EAP values from the widgets.
122 std::string GetEapMethod() const; 122 std::string GetEapMethod() const;
123 std::string GetEapPhase2Auth() const; 123 std::string GetEapPhase2Auth() const;
124 std::string GetEapServerCaCertPEM() const; 124 std::string GetEapServerCaCertPEM() const;
125 bool GetEapUseSystemCas() const; 125 bool GetEapUseSystemCas() const;
126 std::string GetEapSubjectMatch() const; 126 std::string GetEapSubjectMatch() const;
127 std::string GetEapClientCertPkcs11Id() const; 127 std::string GetEapClientCertPkcs11Id() const;
128 std::string GetEapIdentity() const; 128 std::string GetEapIdentity() const;
129 std::string GetEapAnonymousIdentity() const; 129 std::string GetEapAnonymousIdentity() const;
130 130
131 // Fill in |properties| with the properties for the selected client
132 // certificate or empty properties if no client cert is required.
133 void SetEapClientCertProperties(base::DictionaryValue* properties) const;
134
131 // Fill in |properties| with the appropriate values. 135 // Fill in |properties| with the appropriate values.
132 void SetEapProperties(base::DictionaryValue* properties); 136 void SetEapProperties(base::DictionaryValue* properties);
133 137
134 // Returns true if the EAP method requires a user certificate. 138 // Returns true if the EAP method requires a user certificate.
135 bool UserCertRequired() const; 139 bool UserCertRequired() const;
136 140
137 // Returns true if at least one user certificate is installed. 141 // Returns true if at least one user certificate is installed.
138 bool HaveUserCerts() const; 142 bool HaveUserCerts() const;
139 143
140 // Returns true if there is a selected user certificate and it is valid. 144 // Returns true if there is a selected user certificate and it is valid.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 views::Label* error_label_; 211 views::Label* error_label_;
208 212
209 base::WeakPtrFactory<WifiConfigView> weak_ptr_factory_; 213 base::WeakPtrFactory<WifiConfigView> weak_ptr_factory_;
210 214
211 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); 215 DISALLOW_COPY_AND_ASSIGN(WifiConfigView);
212 }; 216 };
213 217
214 } // namespace chromeos 218 } // namespace chromeos
215 219
216 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ 220 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/options/vpn_config_view.cc ('k') | chrome/browser/chromeos/options/wifi_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698