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

Side by Side Diff: chrome/browser/chromeos/policy/policy_cert_verifier.h

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_VERIFIER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_VERIFIER_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_VERIFIER_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_VERIFIER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // Sets the additional trust anchors. 43 // Sets the additional trust anchors.
44 void SetTrustAnchors(const net::CertificateList& trust_anchors); 44 void SetTrustAnchors(const net::CertificateList& trust_anchors);
45 45
46 // CertVerifier: 46 // CertVerifier:
47 // Note: |callback| can be null. 47 // Note: |callback| can be null.
48 int Verify(const RequestParams& params, 48 int Verify(const RequestParams& params,
49 net::CRLSet* crl_set, 49 net::CRLSet* crl_set,
50 net::CertVerifyResult* verify_result, 50 net::CertVerifyResult* verify_result,
51 const net::CompletionCallback& callback, 51 const net::CompletionCallback& callback,
52 std::unique_ptr<Request>* out_req, 52 std::unique_ptr<Request>* out_req,
53 const net::BoundNetLog& net_log) override; 53 const net::NetLogWithSource& net_log) override;
54 54
55 bool SupportsOCSPStapling() override; 55 bool SupportsOCSPStapling() override;
56 56
57 private: 57 private:
58 net::CertificateList trust_anchors_; 58 net::CertificateList trust_anchors_;
59 base::Closure anchor_used_callback_; 59 base::Closure anchor_used_callback_;
60 std::unique_ptr<CertVerifier> delegate_; 60 std::unique_ptr<CertVerifier> delegate_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(PolicyCertVerifier); 62 DISALLOW_COPY_AND_ASSIGN(PolicyCertVerifier);
63 }; 63 };
64 64
65 } // namespace policy 65 } // namespace policy
66 66
67 #endif // CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_VERIFIER_H_ 67 #endif // CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_VERIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698