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

Side by Side Diff: net/spdy/spdy_http_stream.h

Issue 2337253004: Update Token Binding code to the latest drafts (Closed)
Patch Set: Add call to CBS_len() Created 4 years, 3 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
« no previous file with comments | « net/socket/ssl_client_socket_impl.cc ('k') | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SPDY_SPDY_HTTP_STREAM_H_ 5 #ifndef NET_SPDY_SPDY_HTTP_STREAM_H_
6 #define NET_SPDY_SPDY_HTTP_STREAM_H_ 6 #define NET_SPDY_SPDY_HTTP_STREAM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 int64_t GetTotalReceivedBytes() const override; 72 int64_t GetTotalReceivedBytes() const override;
73 // Total number of bytes sent over the network of SPDY frames associated with 73 // Total number of bytes sent over the network of SPDY frames associated with
74 // this stream, including the size of frame headers, before SSL encryption and 74 // this stream, including the size of frame headers, before SSL encryption and
75 // not including proxy overhead. Note that some SPDY frames such as pings are 75 // not including proxy overhead. Note that some SPDY frames such as pings are
76 // not associated with any stream, and are not included in this value. 76 // not associated with any stream, and are not included in this value.
77 int64_t GetTotalSentBytes() const override; 77 int64_t GetTotalSentBytes() const override;
78 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 78 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
79 void GetSSLInfo(SSLInfo* ssl_info) override; 79 void GetSSLInfo(SSLInfo* ssl_info) override;
80 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; 80 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override;
81 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; 81 bool GetRemoteEndpoint(IPEndPoint* endpoint) override;
82 Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, 82 Error GetTokenBindingSignature(crypto::ECPrivateKey* key,
83 std::vector<uint8_t>* out) override; 83 TokenBindingType tb_type,
84 std::vector<uint8_t>* out) override;
84 void Drain(HttpNetworkSession* session) override; 85 void Drain(HttpNetworkSession* session) override;
85 void PopulateNetErrorDetails(NetErrorDetails* details) override; 86 void PopulateNetErrorDetails(NetErrorDetails* details) override;
86 void SetPriority(RequestPriority priority) override; 87 void SetPriority(RequestPriority priority) override;
87 88
88 // SpdyStream::Delegate implementation. 89 // SpdyStream::Delegate implementation.
89 void OnRequestHeadersSent() override; 90 void OnRequestHeadersSent() override;
90 SpdyResponseHeadersStatus OnResponseHeadersUpdated( 91 SpdyResponseHeadersStatus OnResponseHeadersUpdated(
91 const SpdyHeaderBlock& response_headers) override; 92 const SpdyHeaderBlock& response_headers) override;
92 void OnDataReceived(std::unique_ptr<SpdyBuffer> buffer) override; 93 void OnDataReceived(std::unique_ptr<SpdyBuffer> buffer) override;
93 void OnDataSent() override; 94 void OnDataSent() override;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 NextProto negotiated_protocol_; 197 NextProto negotiated_protocol_;
197 198
198 base::WeakPtrFactory<SpdyHttpStream> weak_factory_; 199 base::WeakPtrFactory<SpdyHttpStream> weak_factory_;
199 200
200 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); 201 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream);
201 }; 202 };
202 203
203 } // namespace net 204 } // namespace net
204 205
205 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ 206 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_impl.cc ('k') | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698