Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Side by Side Diff: net/quic/quic_http_stream.h

Issue 1378613004: Set Token-Binding HTTP header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tb-tls-ext-new
Patch Set: Remove sequence numbers from mock reads Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 bool IsResponseBodyComplete() const override; 54 bool IsResponseBodyComplete() const override;
55 bool IsConnectionReused() const override; 55 bool IsConnectionReused() const override;
56 void SetConnectionReused() override; 56 void SetConnectionReused() override;
57 bool CanReuseConnection() const override; 57 bool CanReuseConnection() const override;
58 int64_t GetTotalReceivedBytes() const override; 58 int64_t GetTotalReceivedBytes() const override;
59 int64_t GetTotalSentBytes() const override; 59 int64_t GetTotalSentBytes() const override;
60 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 60 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
61 void GetSSLInfo(SSLInfo* ssl_info) override; 61 void GetSSLInfo(SSLInfo* ssl_info) override;
62 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; 62 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override;
63 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; 63 bool GetRemoteEndpoint(IPEndPoint* endpoint) override;
64 Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key,
65 std::vector<uint8_t>* out) override;
64 void Drain(HttpNetworkSession* session) override; 66 void Drain(HttpNetworkSession* session) override;
65 void PopulateNetErrorDetails(NetErrorDetails* details) override; 67 void PopulateNetErrorDetails(NetErrorDetails* details) override;
66 void SetPriority(RequestPriority priority) override; 68 void SetPriority(RequestPriority priority) override;
67 69
68 // QuicChromiumClientStream::Delegate implementation 70 // QuicChromiumClientStream::Delegate implementation
69 void OnHeadersAvailable(const SpdyHeaderBlock& headers, 71 void OnHeadersAvailable(const SpdyHeaderBlock& headers,
70 size_t frame_len) override; 72 size_t frame_len) override;
71 void OnDataAvailable() override; 73 void OnDataAvailable() override;
72 void OnClose(QuicErrorCode error) override; 74 void OnClose(QuicErrorCode error) override;
73 void OnError(int error) override; 75 void OnError(int error) override;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 QuicErrorCode quic_connection_error_; 176 QuicErrorCode quic_connection_error_;
175 177
176 base::WeakPtrFactory<QuicHttpStream> weak_factory_; 178 base::WeakPtrFactory<QuicHttpStream> weak_factory_;
177 179
178 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); 180 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream);
179 }; 181 };
180 182
181 } // namespace net 183 } // namespace net
182 184
183 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ 185 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698