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