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

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

Issue 14522013: Separate cert loading code from CertLibrary and move to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const std::string GetUserCertID() const; 109 const std::string GetUserCertID() const;
110 bool GetSaveCredentials() const; 110 bool GetSaveCredentials() 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 named |dict_key|. 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& dict_key,
117 const std::string& key); 117 const std::string& key);
118 118
119 CertLibrary* cert_library_;
120
121 std::string server_hostname_; 119 std::string server_hostname_;
122 string16 service_name_from_server_; 120 string16 service_name_from_server_;
123 bool service_text_modified_; 121 bool service_text_modified_;
124 122
125 // Initialized in Init(): 123 // Initialized in Init():
126 124
127 ProviderType provider_type_; 125 ProviderType provider_type_;
128 126
129 bool enable_psk_passphrase_; 127 bool enable_psk_passphrase_;
130 bool enable_user_cert_; 128 bool enable_user_cert_;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 views::Textfield* group_name_textfield_; 161 views::Textfield* group_name_textfield_;
164 views::Checkbox* save_credentials_checkbox_; 162 views::Checkbox* save_credentials_checkbox_;
165 views::Label* error_label_; 163 views::Label* error_label_;
166 164
167 DISALLOW_COPY_AND_ASSIGN(VPNConfigView); 165 DISALLOW_COPY_AND_ASSIGN(VPNConfigView);
168 }; 166 };
169 167
170 } // namespace chromeos 168 } // namespace chromeos
171 169
172 #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 | « chrome/browser/chromeos/network_login_observer.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