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

Unified Diff: chromeos/network/certificate_pattern.h

Issue 658413002: Remove dead code from certificate_pattern.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/remove_dead_certp
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | 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 9db54469d8ec157b9e6c8ce7dc153bf2c65fe71c..3c787643ac0138d1c828c0fc9d0bd7df23c4a67a 100644
--- a/chromeos/network/certificate_pattern.h
+++ b/chromeos/network/certificate_pattern.h
@@ -34,15 +34,6 @@ class CHROMEOS_EXPORT IssuerSubjectPattern {
// Clears out all values in this pattern.
void Clear();
- void set_common_name(const std::string& name) { common_name_ = name; }
- void set_locality(const std::string& locality) { locality_ = locality; }
- void set_organization(const std::string& organization) {
- organization_ = organization;
- }
- void set_organizational_unit(const std::string& unit) {
- organizational_unit_ = unit;
- }
-
const std::string& common_name() const {
return common_name_;
}
@@ -78,12 +69,6 @@ class CHROMEOS_EXPORT CertificatePattern {
// all certs). Ignores enrollment_uri_;
bool Empty() const;
- 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) {
- enrollment_uri_list_ = uri_list;
- }
-
const IssuerSubjectPattern& issuer() const {
return issuer_;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698