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

Side by Side Diff: net/http/proxy_connect_redirect_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/http/http_stream_parser.cc ('k') | net/http/proxy_connect_redirect_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 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
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_
OLDNEW
« no previous file with comments | « net/http/http_stream_parser.cc ('k') | net/http/proxy_connect_redirect_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698