| 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 #include "net/http/http_response_info.h" |
| 11 | 12 |
| 12 namespace net { | 13 namespace net { |
| 13 | 14 |
| 14 ProxyConnectRedirectHttpStream::ProxyConnectRedirectHttpStream( | 15 ProxyConnectRedirectHttpStream::ProxyConnectRedirectHttpStream( |
| 15 LoadTimingInfo* load_timing_info) | 16 LoadTimingInfo* load_timing_info) |
| 16 : has_load_timing_info_(load_timing_info != NULL) { | 17 : has_load_timing_info_(load_timing_info != NULL) { |
| 17 if (has_load_timing_info_) | 18 if (has_load_timing_info_) |
| 18 load_timing_info_ = *load_timing_info; | 19 load_timing_info_ = *load_timing_info; |
| 19 } | 20 } |
| 20 | 21 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 return false; | 103 return false; |
| 103 } | 104 } |
| 104 | 105 |
| 105 Error ProxyConnectRedirectHttpStream::GetSignedEKMForTokenBinding( | 106 Error ProxyConnectRedirectHttpStream::GetSignedEKMForTokenBinding( |
| 106 crypto::ECPrivateKey* key, | 107 crypto::ECPrivateKey* key, |
| 107 std::vector<uint8_t>* out) { | 108 std::vector<uint8_t>* out) { |
| 108 NOTREACHED(); | 109 NOTREACHED(); |
| 109 return ERR_NOT_IMPLEMENTED; | 110 return ERR_NOT_IMPLEMENTED; |
| 110 } | 111 } |
| 111 | 112 |
| 112 void ProxyConnectRedirectHttpStream::Drain(HttpNetworkSession* session) { | 113 void ProxyConnectRedirectHttpStream::Drain( |
| 114 HttpNetworkSession* session, |
| 115 scoped_ptr<HttpResponseInfo> response_info) { |
| 113 NOTREACHED(); | 116 NOTREACHED(); |
| 114 } | 117 } |
| 115 | 118 |
| 116 void ProxyConnectRedirectHttpStream::PopulateNetErrorDetails( | 119 void ProxyConnectRedirectHttpStream::PopulateNetErrorDetails( |
| 117 NetErrorDetails* /*details*/) { | 120 NetErrorDetails* /*details*/) { |
| 118 return; | 121 return; |
| 119 } | 122 } |
| 120 | 123 |
| 121 void ProxyConnectRedirectHttpStream::SetPriority(RequestPriority priority) { | 124 void ProxyConnectRedirectHttpStream::SetPriority(RequestPriority priority) { |
| 122 // Nothing to do. | 125 // Nothing to do. |
| 123 } | 126 } |
| 124 | 127 |
| 125 UploadProgress ProxyConnectRedirectHttpStream::GetUploadProgress() const { | 128 UploadProgress ProxyConnectRedirectHttpStream::GetUploadProgress() const { |
| 126 return UploadProgress(); | 129 return UploadProgress(); |
| 127 } | 130 } |
| 128 | 131 |
| 129 HttpStream* ProxyConnectRedirectHttpStream::RenewStreamForAuth() { | 132 HttpStream* ProxyConnectRedirectHttpStream::RenewStreamForAuth() { |
| 130 NOTREACHED(); | 133 NOTREACHED(); |
| 131 return NULL; | 134 return NULL; |
| 132 } | 135 } |
| 133 | 136 |
| 134 } // namespace | 137 } // namespace |
| OLD | NEW |