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

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

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) 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 10
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { 789 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override {
790 return false; 790 return false;
791 } 791 }
792 792
793 void GetSSLInfo(SSLInfo* ssl_info) override {} 793 void GetSSLInfo(SSLInfo* ssl_info) override {}
794 794
795 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} 795 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {}
796 796
797 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } 797 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; }
798 798
799 Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key,
800 std::vector<uint8_t>* out) override {
801 ADD_FAILURE();
802 return ERR_NOT_IMPLEMENTED;
803 }
804
799 void Drain(HttpNetworkSession* session) override {} 805 void Drain(HttpNetworkSession* session) override {}
800 806
801 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; } 807 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; }
802 808
803 void SetPriority(RequestPriority priority) override {} 809 void SetPriority(RequestPriority priority) override {}
804 810
805 UploadProgress GetUploadProgress() const override { 811 UploadProgress GetUploadProgress() const override {
806 return UploadProgress(); 812 return UploadProgress();
807 } 813 }
808 814
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 req_->SetLoadFlags(LOAD_DISABLE_CACHE); 846 req_->SetLoadFlags(LOAD_DISABLE_CACHE);
841 job->Start(); 847 job->Start();
842 base::RunLoop().RunUntilIdle(); 848 base::RunLoop().RunUntilIdle();
843 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); 849 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status());
844 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); 850 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called());
845 } 851 }
846 852
847 } // namespace 853 } // namespace
848 854
849 } // namespace net 855 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698