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

Side by Side Diff: net/url_request/url_request_http_job_unittest.cc

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/ssl/token_binding.cc ('k') | net/url_request/url_request_job.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "net/url_request/url_request_http_job.h" 5 #include "net/url_request/url_request_http_job.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <memory> 10 #include <memory>
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { 887 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override {
888 return false; 888 return false;
889 } 889 }
890 890
891 void GetSSLInfo(SSLInfo* ssl_info) override {} 891 void GetSSLInfo(SSLInfo* ssl_info) override {}
892 892
893 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} 893 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {}
894 894
895 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } 895 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; }
896 896
897 Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, 897 Error GetTokenBindingSignature(crypto::ECPrivateKey* key,
898 std::vector<uint8_t>* out) override { 898 TokenBindingType tb_type,
899 std::vector<uint8_t>* out) override {
899 ADD_FAILURE(); 900 ADD_FAILURE();
900 return ERR_NOT_IMPLEMENTED; 901 return ERR_NOT_IMPLEMENTED;
901 } 902 }
902 903
903 void Drain(HttpNetworkSession* session) override {} 904 void Drain(HttpNetworkSession* session) override {}
904 905
905 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; } 906 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; }
906 907
907 void SetPriority(RequestPriority priority) override {} 908 void SetPriority(RequestPriority priority) override {}
908 909
(...skipping 30 matching lines...) Expand all
939 base::RunLoop().RunUntilIdle(); 940 base::RunLoop().RunUntilIdle();
940 EXPECT_THAT(delegate_.request_status(), IsError(ERR_IO_PENDING)); 941 EXPECT_THAT(delegate_.request_status(), IsError(ERR_IO_PENDING));
941 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); 942 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called());
942 } 943 }
943 944
944 #endif // defined(ENABLE_WEBSOCKETS) 945 #endif // defined(ENABLE_WEBSOCKETS)
945 946
946 } // namespace 947 } // namespace
947 948
948 } // namespace net 949 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/token_binding.cc ('k') | net/url_request/url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698