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

Unified Diff: net/cert/internal/trust_store_test_helpers.cc

Issue 2272493002: Add TrustStoreNSS and TrustStoreCollection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert-trust-store-interface3-nss
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cert/internal/trust_store_test_helpers.h ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/trust_store_test_helpers.cc
diff --git a/net/cert/internal/trust_store_test_helpers.cc b/net/cert/internal/trust_store_test_helpers.cc
index 5a47e9bdf1ca651fce9895c061b73c5feb7b316e..52edc4e61e4907262f23069b5663c9cb12231730 100644
--- a/net/cert/internal/trust_store_test_helpers.cc
+++ b/net/cert/internal/trust_store_test_helpers.cc
@@ -41,7 +41,7 @@ class TrustStoreInMemoryAsyncRequest : public TrustStore::Request {
void TrustStoreRequestDeleter(std::unique_ptr<TrustStore::Request>* req_owner,
const base::Closure& done_callback,
- std::unique_ptr<TrustAnchors> anchors) {
+ TrustAnchors anchors) {
req_owner->reset();
done_callback.Run();
}
@@ -73,7 +73,7 @@ void TrustStoreInMemoryAsync::AddAsyncTrustAnchor(
}
void TrustStoreInMemoryAsync::FindTrustAnchorsForCert(
- const ParsedCertificate* cert,
+ const scoped_refptr<ParsedCertificate>& cert,
const TrustAnchorsCallback& callback,
TrustAnchors* synchronous_matches,
std::unique_ptr<Request>* out_req) const {
« no previous file with comments | « net/cert/internal/trust_store_test_helpers.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698