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

Side by Side Diff: net/base/cert_verifier.h

Issue 4299001: Update CertVerifier to watch for the origin loop's destruction, so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: To mutable Created 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/base/cert_verifier.cc » ('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) 2008-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008-2009 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_BASE_CERT_VERIFIER_H_ 5 #ifndef NET_BASE_CERT_VERIFIER_H_
6 #define NET_BASE_CERT_VERIFIER_H_ 6 #define NET_BASE_CERT_VERIFIER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // could not be completed synchronously, in which case the result code will 55 // could not be completed synchronously, in which case the result code will
56 // be passed to the callback when available. 56 // be passed to the callback when available.
57 // 57 //
58 int Verify(X509Certificate* cert, const std::string& hostname, 58 int Verify(X509Certificate* cert, const std::string& hostname,
59 int flags, CertVerifyResult* verify_result, 59 int flags, CertVerifyResult* verify_result,
60 CompletionCallback* callback); 60 CompletionCallback* callback);
61 61
62 private: 62 private:
63 class Request; 63 class Request;
64 friend class Request; 64 friend class Request;
65 struct RequestTraits;
65 scoped_refptr<Request> request_; 66 scoped_refptr<Request> request_;
66 DISALLOW_COPY_AND_ASSIGN(CertVerifier); 67 DISALLOW_COPY_AND_ASSIGN(CertVerifier);
67 }; 68 };
68 69
69 } // namespace net 70 } // namespace net
70 71
71 #endif // NET_BASE_CERT_VERIFIER_H_ 72 #endif // NET_BASE_CERT_VERIFIER_H_
OLDNEW
« no previous file with comments | « no previous file | net/base/cert_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698