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

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

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally Created 10 years, 3 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
« no previous file with comments | « net/url_request/https_prober.h ('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) 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/url_request/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 HTTPSProber::HTTPSProber() {
13 }
14
15 HTTPSProber::~HTTPSProber() {
16 }
17
12 bool HTTPSProber::HaveProbed(const std::string& host) const { 18 bool HTTPSProber::HaveProbed(const std::string& host) const {
13 return probed_.find(host) != probed_.end(); 19 return probed_.find(host) != probed_.end();
14 } 20 }
15 21
16 bool HTTPSProber::InFlight(const std::string& host) const { 22 bool HTTPSProber::InFlight(const std::string& host) const {
17 return inflight_probes_.find(host) != inflight_probes_.end(); 23 return inflight_probes_.find(host) != inflight_probes_.end();
18 } 24 }
19 25
20 bool HTTPSProber::ProbeHost(const std::string& host, URLRequestContext* ctx, 26 bool HTTPSProber::ProbeHost(const std::string& host, URLRequestContext* ctx,
21 HTTPSProberDelegate* delegate) { 27 HTTPSProberDelegate* delegate) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } else { 77 } else {
72 Failure(request); 78 Failure(request);
73 } 79 }
74 } 80 }
75 81
76 void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) { 82 void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) {
77 NOTREACHED(); 83 NOTREACHED();
78 } 84 }
79 85
80 } // namespace net 86 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/https_prober.h ('k') | net/url_request/url_request_data_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698