| Index: net/url_request/https_prober.h
|
| diff --git a/net/url_request/https_prober.h b/net/url_request/https_prober.h
|
| index 28182c4bdb920a97840a611ed9b4291623b4e8ab..ab70fd32bdb37100c34da1398001375ea1a05afe 100644
|
| --- a/net/url_request/https_prober.h
|
| +++ b/net/url_request/https_prober.h
|
| @@ -20,7 +20,7 @@ namespace net {
|
|
|
| // This should be scoped inside HTTPSProber, but VC cannot compile
|
| // HTTPProber::Delegate when HTTPSProber also inherits from
|
| -// URLRequest::Delegate.
|
| +// net::URLRequest::Delegate.
|
| class HTTPSProberDelegate {
|
| public:
|
| virtual void ProbeComplete(bool result) = 0;
|
| @@ -31,7 +31,7 @@ class HTTPSProberDelegate {
|
| // HTTPSProber is a singleton object that manages HTTPS probes. A HTTPS probe
|
| // determines if we can connect to a given host over HTTPS. It's used when
|
| // transparently upgrading from HTTP to HTTPS (for example, for SPDY).
|
| -class HTTPSProber : public URLRequest::Delegate {
|
| +class HTTPSProber : public net::URLRequest::Delegate {
|
| public:
|
| HTTPSProber();
|
| ~HTTPSProber();
|
| @@ -52,19 +52,19 @@ class HTTPSProber : public URLRequest::Delegate {
|
| bool ProbeHost(const std::string& host, URLRequestContext* ctx,
|
| HTTPSProberDelegate* delegate);
|
|
|
| - // Implementation of URLRequest::Delegate
|
| - void OnAuthRequired(URLRequest* request,
|
| + // Implementation of net::URLRequest::Delegate
|
| + void OnAuthRequired(net::URLRequest* request,
|
| net::AuthChallengeInfo* auth_info);
|
| - void OnSSLCertificateError(URLRequest* request,
|
| + void OnSSLCertificateError(net::URLRequest* request,
|
| int cert_error,
|
| net::X509Certificate* cert);
|
| - void OnResponseStarted(URLRequest* request);
|
| - void OnReadCompleted(URLRequest* request, int bytes_read);
|
| + void OnResponseStarted(net::URLRequest* request);
|
| + void OnReadCompleted(net::URLRequest* request, int bytes_read);
|
|
|
| private:
|
| - void Success(URLRequest* request);
|
| - void Failure(URLRequest* request);
|
| - void DoCallback(URLRequest* request, bool result);
|
| + void Success(net::URLRequest* request);
|
| + void Failure(net::URLRequest* request);
|
| + void DoCallback(net::URLRequest* request, bool result);
|
|
|
| std::map<std::string, HTTPSProberDelegate*> inflight_probes_;
|
| std::set<std::string> probed_;
|
|
|