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

Unified Diff: net/cert/internal/trust_store_nss.h

Issue 2453093004: Remove dependence on a message loop for net::PathBuilder. (Closed)
Patch Set: remove unnecessary forward decl Created 4 years, 1 month 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_in_memory.cc ('k') | net/cert/internal/trust_store_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/trust_store_nss.h
diff --git a/net/cert/internal/trust_store_nss.h b/net/cert/internal/trust_store_nss.h
index d153dbc5fdfa4e79cf97873192845feac311079d..997ec2f5abe280b28eee0be6aa4d745033ddd8c5 100644
--- a/net/cert/internal/trust_store_nss.h
+++ b/net/cert/internal/trust_store_nss.h
@@ -11,10 +11,6 @@
#include "net/base/net_export.h"
#include "net/cert/internal/trust_store.h"
-namespace base {
-class TaskRunner;
-}
-
namespace net {
// TrustStoreNSS is an implementation of TrustStore which uses NSS to find trust
@@ -26,21 +22,16 @@ namespace net {
class NET_EXPORT TrustStoreNSS : public TrustStore {
public:
// Creates a TrustStoreNSS which will find anchors that are trusted for
- // |trust_type|. All NSS calls will be done on |nss_task_runner|.
- TrustStoreNSS(SECTrustType trust_type,
- scoped_refptr<base::TaskRunner> nss_task_runner);
+ // |trust_type|.
+ explicit TrustStoreNSS(SECTrustType trust_type);
~TrustStoreNSS() override;
// TrustStore implementation:
- void FindTrustAnchorsForCert(
- const scoped_refptr<ParsedCertificate>& cert,
- const TrustAnchorsCallback& callback,
- TrustAnchors* synchronous_matches,
- std::unique_ptr<Request>* out_req) const override;
+ void FindTrustAnchorsForCert(const scoped_refptr<ParsedCertificate>& cert,
+ TrustAnchors* matches) const override;
private:
SECTrustType trust_type_;
- scoped_refptr<base::TaskRunner> nss_task_runner_;
DISALLOW_COPY_AND_ASSIGN(TrustStoreNSS);
};
« no previous file with comments | « net/cert/internal/trust_store_in_memory.cc ('k') | net/cert/internal/trust_store_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698