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

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

Issue 2619403002: TEMP DO NOT REVIEW
Patch Set: Created 3 years, 11 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 | « net/http/http_stream_factory_impl.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('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 #include <utility> 9 #include <utility>
10 10
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 std::unique_ptr<HttpStream> ReleaseStream() { return std::move(stream_); } 225 std::unique_ptr<HttpStream> ReleaseStream() { return std::move(stream_); }
226 226
227 void SetStream(HttpStream* http_stream) { stream_.reset(http_stream); } 227 void SetStream(HttpStream* http_stream) { stream_.reset(http_stream); }
228 228
229 std::unique_ptr<BidirectionalStreamImpl> ReleaseBidirectionalStream() { 229 std::unique_ptr<BidirectionalStreamImpl> ReleaseBidirectionalStream() {
230 return std::move(bidirectional_stream_impl_); 230 return std::move(bidirectional_stream_impl_);
231 } 231 }
232 232
233 bool is_waiting() const { return next_state_ == STATE_WAIT_COMPLETE; } 233 bool is_waiting() const { return next_state_ == STATE_WAIT_COMPLETE; }
234 std::string state() const ;
234 const SSLConfig& server_ssl_config() const; 235 const SSLConfig& server_ssl_config() const;
235 const SSLConfig& proxy_ssl_config() const; 236 const SSLConfig& proxy_ssl_config() const;
236 const ProxyInfo& proxy_info() const; 237 const ProxyInfo& proxy_info() const;
237 238
238 JobType job_type() const { return job_type_; } 239 JobType job_type() const { return job_type_; }
239 240
240 const AlternativeService alternative_service() const { 241 const AlternativeService alternative_service() const {
241 return alternative_service_; 242 return alternative_service_;
242 } 243 }
243 244
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 const SSLConfig& server_ssl_config, 524 const SSLConfig& server_ssl_config,
524 const SSLConfig& proxy_ssl_config, 525 const SSLConfig& proxy_ssl_config,
525 HostPortPair destination, 526 HostPortPair destination,
526 GURL origin_url, 527 GURL origin_url,
527 NetLog* net_log) = 0; 528 NetLog* net_log) = 0;
528 }; 529 };
529 530
530 } // namespace net 531 } // namespace net
531 532
532 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 533 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698