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

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

Issue 1941083002: JobController 1: Adding a new class HttpStreamFactoryImpl::JobController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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_IMPL_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_FACTORY_IMPL_H_
7
8 #include <memory>
9
10 #include "net/http/http_stream_factory_impl_job.h"
11 #include "net/http/http_stream_factory_impl_job_controller.h"
12
13 namespace net {
14
15 class HttpNetworkSession;
16
17 class HttpStreamFactoryImpl::JobFactoryImpl
Randy Smith (Not in Mondays) 2016/06/09 14:26:54 Suggestion: Why not have HttpStreamFactoryImpl der
18 : public HttpStreamFactoryImpl::JobController::JobFactory {
19 public:
20 JobFactoryImpl();
21
22 ~JobFactoryImpl() override;
23
24 Job* CreateJob(HttpStreamFactoryImpl::Job::Delegate* delegate,
25 JobType job_type,
26 HttpNetworkSession* session,
27 const HttpRequestInfo& request_info,
28 RequestPriority priority,
29 const SSLConfig& server_ssl_config,
30 const SSLConfig& proxy_ssl_config,
31 HostPortPair destination,
32 GURL origin_url,
33 NetLog* net_log) override;
34
35 Job* CreateJob(HttpStreamFactoryImpl::Job::Delegate* delegate,
36 JobType job_type,
37 HttpNetworkSession* session,
38 const HttpRequestInfo& request_info,
39 RequestPriority priority,
40 const SSLConfig& server_ssl_config,
41 const SSLConfig& proxy_ssl_config,
42 HostPortPair destination,
43 GURL origin_url,
44 AlternativeService alternative_service,
45 NetLog* net_log) override;
46 };
47
48 } // namespace net
49
50 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_impl_job_controller_unittest.cc ('k') | net/http/http_stream_factory_impl_job_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698