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

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

Issue 2253203002: Misc cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | net/quic/chromium/quic_stream_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 390
391 CompletionCallback io_callback_; 391 CompletionCallback io_callback_;
392 std::unique_ptr<ClientSocketHandle> connection_; 392 std::unique_ptr<ClientSocketHandle> connection_;
393 HttpNetworkSession* const session_; 393 HttpNetworkSession* const session_;
394 State next_state_; 394 State next_state_;
395 ProxyService::PacRequest* pac_request_; 395 ProxyService::PacRequest* pac_request_;
396 SSLInfo ssl_info_; 396 SSLInfo ssl_info_;
397 397
398 // The server we are trying to reach, could be that of the origin or of the 398 // The server we are trying to reach, could be that of the origin or of the
399 // alternative service (after applying host mapping rules). 399 // alternative service (after applying host mapping rules).
400 HostPortPair destination_; 400 const HostPortPair destination_;
401 401
402 // The origin url we're trying to reach. This url may be different from the 402 // The origin url we're trying to reach. This url may be different from the
403 // original request when host mapping rules are set-up. 403 // original request when host mapping rules are set-up.
404 GURL origin_url_; 404 const GURL origin_url_;
405 405
406 // AlternativeService for this Job if this is an alternative Job. 406 // AlternativeService for this Job if this is an alternative Job.
407 const AlternativeService alternative_service_; 407 const AlternativeService alternative_service_;
408 408
409 // AlternativeService for the other Job if this is not an alternative Job. 409 // AlternativeService for the other Job if this is not an alternative Job.
410 AlternativeService other_job_alternative_service_; 410 AlternativeService other_job_alternative_service_;
411 411
412 // Unowned. |this| job is owned by |delegate_|. 412 // Unowned. |this| job is owned by |delegate_|.
413 Delegate* delegate_; 413 Delegate* delegate_;
414 414
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 const SSLConfig& server_ssl_config, 503 const SSLConfig& server_ssl_config,
504 const SSLConfig& proxy_ssl_config, 504 const SSLConfig& proxy_ssl_config,
505 HostPortPair destination, 505 HostPortPair destination,
506 GURL origin_url, 506 GURL origin_url,
507 NetLog* net_log) = 0; 507 NetLog* net_log) = 0;
508 }; 508 };
509 509
510 } // namespace net 510 } // namespace net
511 511
512 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 512 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/chromium/quic_stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698