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

Side by Side Diff: net/http/http_basic_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, 10 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 // HttpBasicStream is a simple implementation of HttpStream. It assumes it is 5 // HttpBasicStream is a simple implementation of HttpStream. It assumes it is
6 // not sharing a sharing with any other HttpStreams, therefore it just reads and 6 // not sharing a sharing with any other HttpStreams, therefore it just reads and
7 // writes directly to the Http Stream. 7 // writes directly to the Http Stream.
8 8
9 #ifndef NET_HTTP_HTTP_BASIC_STREAM_H_ 9 #ifndef NET_HTTP_HTTP_BASIC_STREAM_H_
10 #define NET_HTTP_HTTP_BASIC_STREAM_H_ 10 #define NET_HTTP_HTTP_BASIC_STREAM_H_
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 int64_t GetTotalSentBytes() const override; 69 int64_t GetTotalSentBytes() const override;
70 70
71 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 71 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
72 72
73 void GetSSLInfo(SSLInfo* ssl_info) override; 73 void GetSSLInfo(SSLInfo* ssl_info) override;
74 74
75 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; 75 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override;
76 76
77 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; 77 bool GetRemoteEndpoint(IPEndPoint* endpoint) override;
78 78
79 Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key,
80 std::vector<uint8_t>* out) override;
81
79 void Drain(HttpNetworkSession* session) override; 82 void Drain(HttpNetworkSession* session) override;
80 83
81 void PopulateNetErrorDetails(NetErrorDetails* details) override; 84 void PopulateNetErrorDetails(NetErrorDetails* details) override;
82 85
83 void SetPriority(RequestPriority priority) override; 86 void SetPriority(RequestPriority priority) override;
84 87
85 private: 88 private:
86 HttpStreamParser* parser() const { return state_.parser(); } 89 HttpStreamParser* parser() const { return state_.parser(); }
87 90
88 HttpBasicState state_; 91 HttpBasicState state_;
89 92
90 DISALLOW_COPY_AND_ASSIGN(HttpBasicStream); 93 DISALLOW_COPY_AND_ASSIGN(HttpBasicStream);
91 }; 94 };
92 95
93 } // namespace net 96 } // namespace net
94 97
95 #endif // NET_HTTP_HTTP_BASIC_STREAM_H_ 98 #endif // NET_HTTP_HTTP_BASIC_STREAM_H_
OLDNEW
« chrome/browser/io_thread.cc ('K') | « net/BUILD.gn ('k') | net/http/http_basic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698