Index: net/url_request/https_prober.h |
diff --git a/net/url_request/https_prober.h b/net/url_request/https_prober.h |
index ab70fd32bdb37100c34da1398001375ea1a05afe..e57e56793feb238142045edf44af1894f2137426 100644 |
--- a/net/url_request/https_prober.h |
+++ b/net/url_request/https_prober.h |
@@ -33,8 +33,8 @@ class HTTPSProberDelegate { |
// transparently upgrading from HTTP to HTTPS (for example, for SPDY). |
class HTTPSProber : public net::URLRequest::Delegate { |
public: |
- HTTPSProber(); |
- ~HTTPSProber(); |
+ // Returns the singleton instance. |
+ static HTTPSProber* GetInstance(); |
// HaveProbed returns true if the given host is known to have been probed |
// since the browser was last started. |
@@ -62,6 +62,9 @@ class HTTPSProber : public net::URLRequest::Delegate { |
void OnReadCompleted(net::URLRequest* request, int bytes_read); |
private: |
+ HTTPSProber(); |
+ ~HTTPSProber(); |
+ |
void Success(net::URLRequest* request); |
void Failure(net::URLRequest* request); |
void DoCallback(net::URLRequest* request, bool result); |