OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "net/url_request/http_protocol_handler.h" | |
6 #include "net/url_request/url_request.h" | |
7 #include "net/url_request/url_request_context.h" | |
8 #include "net/url_request/url_request_error_job.h" | |
9 #include "net/url_request/url_request_http_job.h" | |
10 #include "net/url_request/url_request_redirect_job.h" | |
11 #include "url/gurl.h" | |
12 | |
13 namespace net { | |
14 | |
15 HttpProtocolHandler::HttpProtocolHandler() {} | |
16 | |
17 URLRequestJob* HttpProtocolHandler::MaybeCreateJob( | |
18 URLRequest* request, | |
19 NetworkDelegate* network_delegate) const { | |
20 return URLRequestHttpJob::Factory(request, network_delegate, | |
mmenke
2016/04/21 20:58:01
I think we should get rid of URLRequestHttpJob::Fa
mgersh
2016/04/22 20:27:15
The reason why I didn't end up doing that is becau
mmenke
2016/04/22 20:41:04
I'd say it's best just to make URLRequestHttpJob's
mgersh
2016/04/27 16:13:52
Done (assuming you meant make it public), and adde
| |
21 request->url().scheme()); | |
22 } | |
23 | |
24 } // namespace net | |
OLD | NEW |