| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "net/base/https_prober.h" | 5 #include "net/url_request/https_prober.h" |
| 6 | 6 |
| 7 #include "net/url_request/url_request.h" | 7 #include "net/url_request/url_request.h" |
| 8 #include "net/url_request/url_request_context.h" | 8 #include "net/url_request/url_request_context.h" |
| 9 | 9 |
| 10 namespace net { | 10 namespace net { |
| 11 | 11 |
| 12 bool HTTPSProber::HaveProbed(const std::string& host) const { | 12 bool HTTPSProber::HaveProbed(const std::string& host) const { |
| 13 return probed_.find(host) != probed_.end(); | 13 return probed_.find(host) != probed_.end(); |
| 14 } | 14 } |
| 15 | 15 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } else { | 71 } else { |
| 72 Failure(request); | 72 Failure(request); |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 | 75 |
| 76 void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) { | 76 void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) { |
| 77 NOTREACHED(); | 77 NOTREACHED(); |
| 78 } | 78 } |
| 79 | 79 |
| 80 } // namespace net | 80 } // namespace net |
| OLD | NEW |