OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "net/http/proxy_connect_redirect_http_stream.h" | 5 #include "net/http/proxy_connect_redirect_http_stream.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
11 | 11 |
12 namespace net { | 12 namespace net { |
13 | 13 |
14 ProxyConnectRedirectHttpStream::ProxyConnectRedirectHttpStream( | 14 ProxyConnectRedirectHttpStream::ProxyConnectRedirectHttpStream( |
15 LoadTimingInfo* load_timing_info) | 15 LoadTimingInfo* load_timing_info) |
16 : has_load_timing_info_(load_timing_info != NULL) { | 16 : has_load_timing_info_(load_timing_info != NULL) { |
17 if (has_load_timing_info_) | 17 if (has_load_timing_info_) |
18 load_timing_info_ = *load_timing_info; | 18 load_timing_info_ = *load_timing_info; |
19 } | 19 } |
20 | 20 |
21 ProxyConnectRedirectHttpStream::~ProxyConnectRedirectHttpStream() {} | 21 ProxyConnectRedirectHttpStream::~ProxyConnectRedirectHttpStream() {} |
22 | 22 |
23 int ProxyConnectRedirectHttpStream::InitializeStream( | 23 int ProxyConnectRedirectHttpStream::InitializeStream( |
24 const HttpRequestInfo* request_info, | 24 const HttpRequestInfo* request_info, |
25 RequestPriority priority, | 25 RequestPriority priority, |
26 const BoundNetLog& net_log, | 26 const NetLogWithSource& net_log, |
27 const CompletionCallback& callback) { | 27 const CompletionCallback& callback) { |
28 NOTREACHED(); | 28 NOTREACHED(); |
29 return OK; | 29 return OK; |
30 } | 30 } |
31 | 31 |
32 int ProxyConnectRedirectHttpStream::SendRequest( | 32 int ProxyConnectRedirectHttpStream::SendRequest( |
33 const HttpRequestHeaders& request_headers, | 33 const HttpRequestHeaders& request_headers, |
34 HttpResponseInfo* response, | 34 HttpResponseInfo* response, |
35 const CompletionCallback& callback) { | 35 const CompletionCallback& callback) { |
36 NOTREACHED(); | 36 NOTREACHED(); |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 void ProxyConnectRedirectHttpStream::SetPriority(RequestPriority priority) { | 122 void ProxyConnectRedirectHttpStream::SetPriority(RequestPriority priority) { |
123 // Nothing to do. | 123 // Nothing to do. |
124 } | 124 } |
125 | 125 |
126 HttpStream* ProxyConnectRedirectHttpStream::RenewStreamForAuth() { | 126 HttpStream* ProxyConnectRedirectHttpStream::RenewStreamForAuth() { |
127 NOTREACHED(); | 127 NOTREACHED(); |
128 return NULL; | 128 return NULL; |
129 } | 129 } |
130 | 130 |
131 } // namespace | 131 } // namespace |
OLD | NEW |