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

Side by Side Diff: net/http/http_stream_factory_impl_job_factory_impl.cc

Issue 1941083002: JobController 1: Adding a new class HttpStreamFactoryImpl::JobController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add JobFactory interface in JobController, remove JobControllerPeer Created 4 years, 6 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 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/http/http_stream_factory_impl_job_factory_impl.h"
6
7 namespace net {
8
9 HttpStreamFactoryImpl::JobFactoryImpl::JobFactoryImpl() {}
10
11 HttpStreamFactoryImpl::JobFactoryImpl::~JobFactoryImpl() {}
12
13 HttpStreamFactoryImpl::Job* HttpStreamFactoryImpl::JobFactoryImpl::CreateJob(
14 HttpStreamFactoryImpl::Job::Delegate* delegate,
15 JobType job_type,
16 HttpNetworkSession* session,
17 const HttpRequestInfo& request_info,
18 RequestPriority priority,
19 const SSLConfig& server_ssl_config,
20 const SSLConfig& proxy_ssl_config,
21 HostPortPair destination,
22 GURL origin_url,
23 NetLog* net_log) {
24 return new Job(delegate, job_type, session, request_info, priority,
25 server_ssl_config, proxy_ssl_config, destination, origin_url,
26 net_log);
27 }
28
29 HttpStreamFactoryImpl::Job* HttpStreamFactoryImpl::JobFactoryImpl::CreateJob(
30 HttpStreamFactoryImpl::Job::Delegate* delegate,
31 JobType job_type,
32 HttpNetworkSession* session,
33 const HttpRequestInfo& request_info,
34 RequestPriority priority,
35 const SSLConfig& server_ssl_config,
36 const SSLConfig& proxy_ssl_config,
37 HostPortPair destination,
38 GURL origin_url,
39 AlternativeService alternative_service,
40 NetLog* net_log) {
41 return new Job(delegate, job_type, session, request_info, priority,
42 server_ssl_config, proxy_ssl_config, destination, origin_url,
43 alternative_service, net_log);
44 }
45 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698