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

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

Issue 16946002: Resolve certificate references in ONC by PEM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a unit test for the resolve function. Created 7 years, 5 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_VPN_CONFIG_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 PassphraseTextfield* textfield) const; 99 PassphraseTextfield* textfield) const;
100 100
101 // Convenience methods to get text from input field or cached VirtualNetwork. 101 // Convenience methods to get text from input field or cached VirtualNetwork.
102 const std::string GetService() const; 102 const std::string GetService() const;
103 const std::string GetServer() const; 103 const std::string GetServer() const;
104 const std::string GetPSKPassphrase() const; 104 const std::string GetPSKPassphrase() const;
105 const std::string GetUsername() const; 105 const std::string GetUsername() const;
106 const std::string GetUserPassphrase() const; 106 const std::string GetUserPassphrase() const;
107 const std::string GetOTP() const; 107 const std::string GetOTP() const;
108 const std::string GetGroupName() const; 108 const std::string GetGroupName() const;
109 const std::string GetServerCACertNssNickname() const; 109 const std::string GetServerCACertPEM() const;
110 const std::string GetUserCertID() const; 110 const std::string GetUserCertID() const;
111 bool GetSaveCredentials() const; 111 bool GetSaveCredentials() const;
112 112
113 // Parses a VPN UI |property| from the given |network|. |key| is the property 113 // Parses a VPN UI |property| from the given |network|. |key| is the property
114 // name within the type-specific VPN subdictionary named |dict_key|. 114 // name within the type-specific VPN subdictionary named |dict_key|.
115 void ParseVPNUIProperty(NetworkPropertyUIData* property_ui_data, 115 void ParseVPNUIProperty(NetworkPropertyUIData* property_ui_data,
116 Network* network, 116 Network* network,
117 const std::string& dict_key, 117 const std::string& dict_key,
118 const std::string& key); 118 const std::string& key);
119 119
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 views::Textfield* group_name_textfield_; 164 views::Textfield* group_name_textfield_;
165 views::Checkbox* save_credentials_checkbox_; 165 views::Checkbox* save_credentials_checkbox_;
166 views::Label* error_label_; 166 views::Label* error_label_;
167 167
168 DISALLOW_COPY_AND_ASSIGN(VPNConfigView); 168 DISALLOW_COPY_AND_ASSIGN(VPNConfigView);
169 }; 169 };
170 170
171 } // namespace chromeos 171 } // namespace chromeos
172 172
173 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ 173 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library_unittest.cc ('k') | chrome/browser/chromeos/options/vpn_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698