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

Side by Side Diff: net/url_request/https_prober.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/flip_server/sm_connection.cc ('k') | net/url_request/url_request_data_job.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_HTTPS_PROBER_H_ 5 #ifndef NET_BASE_HTTPS_PROBER_H_
6 #define NET_BASE_HTTPS_PROBER_H_ 6 #define NET_BASE_HTTPS_PROBER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual void OnSSLCertificateError(URLRequest* request, 59 virtual void OnSSLCertificateError(URLRequest* request,
60 int cert_error, 60 int cert_error,
61 X509Certificate* cert); 61 X509Certificate* cert);
62 virtual void OnResponseStarted(URLRequest* request); 62 virtual void OnResponseStarted(URLRequest* request);
63 virtual void OnReadCompleted(URLRequest* request, int bytes_read); 63 virtual void OnReadCompleted(URLRequest* request, int bytes_read);
64 64
65 private: 65 private:
66 friend struct DefaultSingletonTraits<HTTPSProber>; 66 friend struct DefaultSingletonTraits<HTTPSProber>;
67 67
68 HTTPSProber(); 68 HTTPSProber();
69 ~HTTPSProber(); 69 virtual ~HTTPSProber();
70 70
71 void Success(URLRequest* request); 71 void Success(URLRequest* request);
72 void Failure(URLRequest* request); 72 void Failure(URLRequest* request);
73 void DoCallback(URLRequest* request, bool result); 73 void DoCallback(URLRequest* request, bool result);
74 74
75 std::map<std::string, HTTPSProberDelegate*> inflight_probes_; 75 std::map<std::string, HTTPSProberDelegate*> inflight_probes_;
76 std::set<std::string> probed_; 76 std::set<std::string> probed_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(HTTPSProber); 78 DISALLOW_COPY_AND_ASSIGN(HTTPSProber);
79 }; 79 };
80 80
81 } // namespace net 81 } // namespace net
82 82
83 #endif // NET_BASE_HTTPS_PROBER_H_ 83 #endif // NET_BASE_HTTPS_PROBER_H_
OLDNEW
« no previous file with comments | « net/tools/flip_server/sm_connection.cc ('k') | net/url_request/url_request_data_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698