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

Side by Side Diff: net/http/http_stream_factory_impl_job_factory.h

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 and rewrite test cases 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 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_FACTORY_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_FACTORY_H_
7
8 #include <memory>
9
10 #include "net/http/http_stream_factory_impl.h"
11 #include "net/http/http_stream_factory_impl_job.h"
12
13 namespace net {
14
15 class HttpNetworkSession;
16
17 class HttpStreamFactoryImpl::JobFactory {
Ryan Hamilton 2016/06/03 00:11:24 As discussed offline, I think I would make this an
Zhongyi Shi 2016/06/03 23:09:21 Done. Yay!!
18 public:
19 JobFactory();
20
21 virtual ~JobFactory();
22
23 virtual Job* CreateJob(HttpStreamFactoryImpl::Job::Delegate* delegate,
24 JobType job_type,
25 HttpNetworkSession* session,
26 const HttpRequestInfo& request_info,
27 RequestPriority priority,
28 const SSLConfig& server_ssl_config,
29 const SSLConfig& proxy_ssl_config,
30 HostPortPair destination,
31 GURL origin_url,
32 NetLog* net_log);
33
34 virtual Job* CreateJob(HttpStreamFactoryImpl::Job::Delegate* delegate,
35 JobType job_type,
36 HttpNetworkSession* session,
37 const HttpRequestInfo& request_info,
38 RequestPriority priority,
39 const SSLConfig& server_ssl_config,
40 const SSLConfig& proxy_ssl_config,
41 HostPortPair destination,
42 GURL origin_url,
43 AlternativeService alternative_service,
44 NetLog* net_log);
45 };
46
47 } // namespace net
48
49 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698