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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_CONTROLLER_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_CONTROLLER_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_CONTROLLER_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_CONTROLLER_H_
7 7
8 #include "net/base/host_port_pair.h" 8 #include "net/base/host_port_pair.h"
9 #include "net/http/http_stream_factory_impl_job.h" 9 #include "net/http/http_stream_factory_impl_job.h"
10 #include "net/http/http_stream_factory_impl_request.h" 10 #include "net/http/http_stream_factory_impl_request.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 class NetLogWithSource;
15
14 // HttpStreamFactoryImpl::JobController manages Request and Job(s). 16 // HttpStreamFactoryImpl::JobController manages Request and Job(s).
15 class HttpStreamFactoryImpl::JobController 17 class HttpStreamFactoryImpl::JobController
16 : public HttpStreamFactoryImpl::Job::Delegate, 18 : public HttpStreamFactoryImpl::Job::Delegate,
17 public HttpStreamFactoryImpl::Request::Helper { 19 public HttpStreamFactoryImpl::Request::Helper {
18 public: 20 public:
19 JobController(HttpStreamFactoryImpl* factory, 21 JobController(HttpStreamFactoryImpl* factory,
20 HttpStreamRequest::Delegate* delegate, 22 HttpStreamRequest::Delegate* delegate,
21 HttpNetworkSession* session, 23 HttpNetworkSession* session,
22 JobFactory* job_factory); 24 JobFactory* job_factory);
23 25
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 295
294 // True if an alternative proxy server job can be started to fetch |request_|. 296 // True if an alternative proxy server job can be started to fetch |request_|.
295 bool can_start_alternative_proxy_job_; 297 bool can_start_alternative_proxy_job_;
296 298
297 base::WeakPtrFactory<JobController> ptr_factory_; 299 base::WeakPtrFactory<JobController> ptr_factory_;
298 }; 300 };
299 301
300 } // namespace net 302 } // namespace net
301 303
302 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_CONTROLLER_H_ 304 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698