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

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

Issue 10377168: cros vpn config: Read UI data from the correct VPN dictionaries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/vpn_config_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 GetServerCACertNssNickname() const;
110 const std::string GetUserCertID() const; 110 const std::string GetUserCertID() const;
111 111
112 // Parses a VPN UI |property| from the given |network|. |key| is the property 112 // Parses a VPN UI |property| from the given |network|. |key| is the property
113 // name within the type-specific VPN subdictionary. 113 // name within the type-specific VPN subdictionary named |dict_key|.
114 void ParseVPNUIProperty(NetworkPropertyUIData* property_ui_data, 114 void ParseVPNUIProperty(NetworkPropertyUIData* property_ui_data,
115 Network* network, 115 Network* network,
116 const std::string& dict_key,
116 const std::string& key); 117 const std::string& key);
117 118
118 CertLibrary* cert_library_; 119 CertLibrary* cert_library_;
119 120
120 std::string server_hostname_; 121 std::string server_hostname_;
121 string16 service_name_from_server_; 122 string16 service_name_from_server_;
122 bool service_text_modified_; 123 bool service_text_modified_;
123 124
124 // Initialized in Init(): 125 // Initialized in Init():
125 126
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 views::Label* group_name_label_; 161 views::Label* group_name_label_;
161 views::Textfield* group_name_textfield_; 162 views::Textfield* group_name_textfield_;
162 views::Label* error_label_; 163 views::Label* error_label_;
163 164
164 DISALLOW_COPY_AND_ASSIGN(VPNConfigView); 165 DISALLOW_COPY_AND_ASSIGN(VPNConfigView);
165 }; 166 };
166 167
167 } // namespace chromeos 168 } // namespace chromeos
168 169
169 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ 170 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/vpn_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698