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

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

Issue 8568021: Add OVERRIDE to net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net only Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/address_list_net_log_param.h ('k') | net/base/cookie_monster_store_test.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 int flags; 176 int flags;
177 }; 177 };
178 178
179 void HandleResult(X509Certificate* cert, 179 void HandleResult(X509Certificate* cert,
180 const std::string& hostname, 180 const std::string& hostname,
181 int flags, 181 int flags,
182 int error, 182 int error,
183 const CertVerifyResult& verify_result); 183 const CertVerifyResult& verify_result);
184 184
185 // CertDatabase::Observer methods: 185 // CertDatabase::Observer methods:
186 virtual void OnCertTrustChanged(const X509Certificate* cert); 186 virtual void OnCertTrustChanged(const X509Certificate* cert) OVERRIDE;
187 187
188 // cache_ maps from a request to a cached result. The cached result may 188 // cache_ maps from a request to a cached result. The cached result may
189 // have expired and the size of |cache_| must be <= max_cache_entries_. 189 // have expired and the size of |cache_| must be <= max_cache_entries_.
190 std::map<RequestParams, CachedCertVerifyResult> cache_; 190 std::map<RequestParams, CachedCertVerifyResult> cache_;
191 191
192 // inflight_ maps from a request to an active verification which is taking 192 // inflight_ maps from a request to an active verification which is taking
193 // place. 193 // place.
194 std::map<RequestParams, CertVerifierJob*> inflight_; 194 std::map<RequestParams, CertVerifierJob*> inflight_;
195 195
196 scoped_ptr<TimeService> time_service_; 196 scoped_ptr<TimeService> time_service_;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 // The current request (if any). 239 // The current request (if any).
240 CertVerifier::RequestHandle cur_request_; 240 CertVerifier::RequestHandle cur_request_;
241 CompletionCallback cur_request_callback_; 241 CompletionCallback cur_request_callback_;
242 242
243 DISALLOW_COPY_AND_ASSIGN(SingleRequestCertVerifier); 243 DISALLOW_COPY_AND_ASSIGN(SingleRequestCertVerifier);
244 }; 244 };
245 245
246 } // namespace net 246 } // namespace net
247 247
248 #endif // NET_BASE_CERT_VERIFIER_H_ 248 #endif // NET_BASE_CERT_VERIFIER_H_
OLDNEW
« no previous file with comments | « net/base/address_list_net_log_param.h ('k') | net/base/cookie_monster_store_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698