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

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

Issue 23583018: Check configuration for networks without UIData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comment Created 7 years, 3 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 | 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 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 // If not empty, sets the TPM properties in |properties|. If |pkcs11_id| is not 48 // If not empty, sets the TPM properties in |properties|. If |pkcs11_id| is not
49 // NULL, also sets the ClientCertID. |cert_config_type| determines which 49 // NULL, also sets the ClientCertID. |cert_config_type| determines which
50 // dictionary entries to set. 50 // dictionary entries to set.
51 void SetShillProperties(const ConfigType cert_config_type, 51 void SetShillProperties(const ConfigType cert_config_type,
52 const std::string& tpm_slot, 52 const std::string& tpm_slot,
53 const std::string& tpm_pin, 53 const std::string& tpm_pin,
54 const std::string* pkcs11_id, 54 const std::string* pkcs11_id,
55 base::DictionaryValue* properties); 55 base::DictionaryValue* properties);
56 56
57 // Returns true if all required configuration properties are set and not empty.
58 bool IsCertificateConfigured(const client_cert::ConfigType cert_config_type,
59 const base::DictionaryValue& service_properties);
60
57 } // namespace client_cert 61 } // namespace client_cert
58 62
59 } // namespace chromeos 63 } // namespace chromeos
60 64
61 #endif // CHROMEOS_NETWORK_CLIENT_CERT_UTIL_H_ 65 #endif // CHROMEOS_NETWORK_CLIENT_CERT_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/network/client_cert_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698