| OLD | NEW |
| 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_QUIC_QUIC_HTTP_STREAM_H_ | 5 #ifndef NET_QUIC_QUIC_HTTP_STREAM_H_ |
| 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ | 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <list> | 10 #include <list> |
| 9 | 11 |
| 10 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 11 | 13 |
| 12 // TODO(rtenneti): Temporary while investigating crbug.com/468529. | 14 // TODO(rtenneti): Temporary while investigating crbug.com/468529. |
| 13 // Note base::Debug::StackTrace() is not supported in NACL | 15 // Note base::Debug::StackTrace() is not supported in NACL |
| 14 // builds so conditionally disabled it there. | 16 // builds so conditionally disabled it there. |
| 15 #ifndef OS_NACL | 17 #ifndef OS_NACL |
| 16 #define TEMP_INSTRUMENTATION_468529 | 18 #define TEMP_INSTRUMENTATION_468529 |
| 17 #endif | 19 #endif |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 int buf_len, | 60 int buf_len, |
| 59 const CompletionCallback& callback) override; | 61 const CompletionCallback& callback) override; |
| 60 void Close(bool not_reusable) override; | 62 void Close(bool not_reusable) override; |
| 61 HttpStream* RenewStreamForAuth() override; | 63 HttpStream* RenewStreamForAuth() override; |
| 62 bool IsResponseBodyComplete() const override; | 64 bool IsResponseBodyComplete() const override; |
| 63 bool CanFindEndOfResponse() const override; | 65 bool CanFindEndOfResponse() const override; |
| 64 bool IsConnectionReused() const override; | 66 bool IsConnectionReused() const override; |
| 65 void SetConnectionReused() override; | 67 void SetConnectionReused() override; |
| 66 bool IsConnectionReusable() const override; | 68 bool IsConnectionReusable() const override; |
| 67 int64 GetTotalReceivedBytes() const override; | 69 int64 GetTotalReceivedBytes() const override; |
| 70 int64_t GetTotalSentBytes() const override; |
| 68 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; | 71 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; |
| 69 void GetSSLInfo(SSLInfo* ssl_info) override; | 72 void GetSSLInfo(SSLInfo* ssl_info) override; |
| 70 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; | 73 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; |
| 71 bool IsSpdyHttpStream() const override; | 74 bool IsSpdyHttpStream() const override; |
| 72 void Drain(HttpNetworkSession* session) override; | 75 void Drain(HttpNetworkSession* session) override; |
| 73 void SetPriority(RequestPriority priority) override; | 76 void SetPriority(RequestPriority priority) override; |
| 74 | 77 |
| 75 // QuicReliableClientStream::Delegate implementation | 78 // QuicReliableClientStream::Delegate implementation |
| 76 void OnHeadersAvailable(const SpdyHeaderBlock& headers) override; | 79 void OnHeadersAvailable(const SpdyHeaderBlock& headers) override; |
| 77 void OnDataAvailable() override; | 80 void OnDataAvailable() override; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 #endif | 193 #endif |
| 191 | 194 |
| 192 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 195 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
| 193 | 196 |
| 194 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 197 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
| 195 }; | 198 }; |
| 196 | 199 |
| 197 } // namespace net | 200 } // namespace net |
| 198 | 201 |
| 199 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 202 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
| OLD | NEW |