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

Side by Side Diff: net/cert/multi_threaded_cert_verifier.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch Created 4 years 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 unified diff | Download patch
« no previous file with comments | « net/cert/internal/verify_certificate_chain.h ('k') | net/cert/x509_cert_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 5 #ifndef NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
6 #define NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 6 #define NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 #include "base/threading/non_thread_safe.h" 19 #include "base/threading/non_thread_safe.h"
20 #include "net/base/completion_callback.h" 20 #include "net/base/completion_callback.h"
21 #include "net/base/net_export.h" 21 #include "net/base/net_export.h"
22 #include "net/cert/cert_verifier.h" 22 #include "net/cert/cert_verifier.h"
23 23
24 namespace net { 24 namespace net {
25 25
26 class CertVerifierJob; 26 class CertVerifierJob;
27 class CertVerifierRequest; 27 class CertVerifierRequest;
28 class CertVerifierWorker;
29 class CertVerifyProc; 28 class CertVerifyProc;
30 29
31 // MultiThreadedCertVerifier is a CertVerifier implementation that runs 30 // MultiThreadedCertVerifier is a CertVerifier implementation that runs
32 // synchronous CertVerifier implementations on worker threads. 31 // synchronous CertVerifier implementations on worker threads.
33 class NET_EXPORT_PRIVATE MultiThreadedCertVerifier 32 class NET_EXPORT_PRIVATE MultiThreadedCertVerifier
34 : public CertVerifier, 33 : public CertVerifier,
35 NON_EXPORTED_BASE(public base::NonThreadSafe) { 34 NON_EXPORTED_BASE(public base::NonThreadSafe) {
36 public: 35 public:
37 explicit MultiThreadedCertVerifier(CertVerifyProc* verify_proc); 36 explicit MultiThreadedCertVerifier(CertVerifyProc* verify_proc);
38 37
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 uint64_t inflight_joins_; 86 uint64_t inflight_joins_;
88 87
89 scoped_refptr<CertVerifyProc> verify_proc_; 88 scoped_refptr<CertVerifyProc> verify_proc_;
90 89
91 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier); 90 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier);
92 }; 91 };
93 92
94 } // namespace net 93 } // namespace net
95 94
96 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ 95 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
OLDNEW
« no previous file with comments | « net/cert/internal/verify_certificate_chain.h ('k') | net/cert/x509_cert_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698