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

Unified Diff: chromeos/network/certificate_pattern.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, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/certificate_handler.cc ('k') | chromeos/network/certificate_pattern.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/certificate_pattern.h
diff --git a/chromeos/network/certificate_pattern.h b/chromeos/network/certificate_pattern.h
index b0eb29c8c0fe51a9b0b32d450e8318512132631b..5e536483b82454330e824b86e340faa0b8533f96 100644
--- a/chromeos/network/certificate_pattern.h
+++ b/chromeos/network/certificate_pattern.h
@@ -82,9 +82,6 @@ class CHROMEOS_EXPORT CertificatePattern {
// Clears out all the values in this pattern (so Empty returns true).
void Clear();
- void set_issuer_ca_ref_list(const std::vector<std::string>& ref_list) {
- issuer_ca_ref_list_ = ref_list;
- }
void set_issuer(const IssuerSubjectPattern& issuer) { issuer_ = issuer; }
void set_subject(const IssuerSubjectPattern& subject) { subject_ = subject; }
void set_enrollment_uri_list(const std::vector<std::string>& uri_list) {
@@ -97,8 +94,8 @@ class CHROMEOS_EXPORT CertificatePattern {
const IssuerSubjectPattern& subject() const {
return subject_;
}
- const std::vector<std::string>& issuer_ca_ref_list() const {
- return issuer_ca_ref_list_;
+ const std::vector<std::string>& issuer_ca_pems() const {
+ return issuer_ca_pems_;
}
const std::vector<std::string>& enrollment_uri_list() const {
return enrollment_uri_list_;
@@ -113,7 +110,7 @@ class CHROMEOS_EXPORT CertificatePattern {
bool CopyFromDictionary(const base::DictionaryValue& dictionary);
private:
- std::vector<std::string> issuer_ca_ref_list_;
+ std::vector<std::string> issuer_ca_pems_;
IssuerSubjectPattern issuer_;
IssuerSubjectPattern subject_;
std::vector<std::string> enrollment_uri_list_;
« no previous file with comments | « chromeos/network/certificate_handler.cc ('k') | chromeos/network/certificate_pattern.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698