Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |