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

Side by Side Diff: chromeos/network/client_cert_util.h

Issue 1870833003: chromeos: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « chromeos/network/certificate_pattern.cc ('k') | chromeos/network/client_cert_util.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 CHROMEOS_NETWORK_CLIENT_CERT_UTIL_H_ 5 #ifndef CHROMEOS_NETWORK_CLIENT_CERT_UTIL_H_
6 #define CHROMEOS_NETWORK_CLIENT_CERT_UTIL_H_ 6 #define CHROMEOS_NETWORK_CLIENT_CERT_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 17 matching lines...) Expand all
28 28
29 enum ConfigType { 29 enum ConfigType {
30 CONFIG_TYPE_NONE, 30 CONFIG_TYPE_NONE,
31 CONFIG_TYPE_OPENVPN, 31 CONFIG_TYPE_OPENVPN,
32 CONFIG_TYPE_IPSEC, 32 CONFIG_TYPE_IPSEC,
33 CONFIG_TYPE_EAP 33 CONFIG_TYPE_EAP
34 }; 34 };
35 35
36 struct CHROMEOS_EXPORT ClientCertConfig { 36 struct CHROMEOS_EXPORT ClientCertConfig {
37 ClientCertConfig(); 37 ClientCertConfig();
38 ClientCertConfig(const ClientCertConfig& other);
38 39
39 // Independent of whether the client cert (pattern or reference) is 40 // Independent of whether the client cert (pattern or reference) is
40 // configured, the location determines whether this network configuration 41 // configured, the location determines whether this network configuration
41 // supports client certs and what kind of configuration it requires. 42 // supports client certs and what kind of configuration it requires.
42 ConfigType location; 43 ConfigType location;
43 44
44 // One of the ClientCertTypes defined in ONC: kNone, kRef, or kPattern. 45 // One of the ClientCertTypes defined in ONC: kNone, kRef, or kPattern.
45 std::string client_cert_type; 46 std::string client_cert_type;
46 47
47 // If |client_cert_type| equals kPattern, this contains the pattern. 48 // If |client_cert_type| equals kPattern, this contains the pattern.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // pattern within an EAP, IPsec or OpenVPN configuration. 100 // pattern within an EAP, IPsec or OpenVPN configuration.
100 CHROMEOS_EXPORT void OncToClientCertConfig( 101 CHROMEOS_EXPORT void OncToClientCertConfig(
101 const base::DictionaryValue& network_config, 102 const base::DictionaryValue& network_config,
102 ClientCertConfig* cert_config); 103 ClientCertConfig* cert_config);
103 104
104 } // namespace client_cert 105 } // namespace client_cert
105 106
106 } // namespace chromeos 107 } // namespace chromeos
107 108
108 #endif // CHROMEOS_NETWORK_CLIENT_CERT_UTIL_H_ 109 #endif // CHROMEOS_NETWORK_CLIENT_CERT_UTIL_H_
OLDNEW
« no previous file with comments | « chromeos/network/certificate_pattern.cc ('k') | chromeos/network/client_cert_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698