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

Unified Diff: components/cast_certificate/cast_cert_validator.cc

Issue 2252933002: Make TrustStore into an interface, move impl to TrustStoreInMemory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 | components/cast_certificate/cast_crl.cc » ('j') | net/cert/internal/trust_store.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_certificate/cast_cert_validator.cc
diff --git a/components/cast_certificate/cast_cert_validator.cc b/components/cast_certificate/cast_cert_validator.cc
index 3e9bb222a2663bc9fb0fc8a33098d4826faaa013..975894c75c8de264d69ac9087b2d08e39d54db99 100644
--- a/components/cast_certificate/cast_cert_validator.cc
+++ b/components/cast_certificate/cast_cert_validator.cc
@@ -23,7 +23,7 @@
#include "net/cert/internal/path_builder.h"
#include "net/cert/internal/signature_algorithm.h"
#include "net/cert/internal/signature_policy.h"
-#include "net/cert/internal/trust_store.h"
+#include "net/cert/internal/trust_store_static.h"
#include "net/cert/internal/verify_signed_data.h"
#include "net/der/encode_values.h"
#include "net/der/input.h"
@@ -79,7 +79,7 @@ class CastTrustStore {
store_.AddTrustAnchor(std::move(anchor));
}
- net::TrustStore store_;
+ net::TrustStoreStatic store_;
DISALLOW_COPY_AND_ASSIGN(CastTrustStore);
};
« no previous file with comments | « no previous file | components/cast_certificate/cast_crl.cc » ('j') | net/cert/internal/trust_store.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698