| 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 #ifndef NET_HTTP_PROXY_CONNECT_REDIRECT_HTTP_STREAM_H_ | 5 #ifndef NET_HTTP_PROXY_CONNECT_REDIRECT_HTTP_STREAM_H_ |
| 6 #define NET_HTTP_PROXY_CONNECT_REDIRECT_HTTP_STREAM_H_ | 6 #define NET_HTTP_PROXY_CONNECT_REDIRECT_HTTP_STREAM_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 int64_t GetTotalReceivedBytes() const override; | 51 int64_t GetTotalReceivedBytes() const override; |
| 52 int64_t GetTotalSentBytes() const override; | 52 int64_t GetTotalSentBytes() const override; |
| 53 | 53 |
| 54 // This function may be called. | 54 // This function may be called. |
| 55 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; | 55 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; |
| 56 | 56 |
| 57 void GetSSLInfo(SSLInfo* ssl_info) override; | 57 void GetSSLInfo(SSLInfo* ssl_info) override; |
| 58 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; | 58 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; |
| 59 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; | 59 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; |
| 60 Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, |
| 61 std::vector<uint8_t>* out) override; |
| 60 void Drain(HttpNetworkSession* session) override; | 62 void Drain(HttpNetworkSession* session) override; |
| 61 void PopulateNetErrorDetails(NetErrorDetails* details) override; | 63 void PopulateNetErrorDetails(NetErrorDetails* details) override; |
| 62 | 64 |
| 63 // This function may be called. | 65 // This function may be called. |
| 64 void SetPriority(RequestPriority priority) override; | 66 void SetPriority(RequestPriority priority) override; |
| 65 | 67 |
| 66 UploadProgress GetUploadProgress() const override; | 68 UploadProgress GetUploadProgress() const override; |
| 67 HttpStream* RenewStreamForAuth() override; | 69 HttpStream* RenewStreamForAuth() override; |
| 68 | 70 |
| 69 private: | 71 private: |
| 70 bool has_load_timing_info_; | 72 bool has_load_timing_info_; |
| 71 LoadTimingInfo load_timing_info_; | 73 LoadTimingInfo load_timing_info_; |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 } // namespace net | 76 } // namespace net |
| 75 | 77 |
| 76 #endif // NET_HTTP_PROXY_CONNECT_REDIRECT_HTTP_STREAM_H_ | 78 #endif // NET_HTTP_PROXY_CONNECT_REDIRECT_HTTP_STREAM_H_ |
| OLD | NEW |