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

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: rebase Created 5 years, 2 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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { 738 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override {
739 return false; 739 return false;
740 } 740 }
741 741
742 void GetSSLInfo(SSLInfo* ssl_info) override {} 742 void GetSSLInfo(SSLInfo* ssl_info) override {}
743 743
744 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} 744 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {}
745 745
746 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } 746 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; }
747 747
748 int GetTokenBindingMessageHeader(std::string* out) override {
749 return ERR_NOT_IMPLEMENTED;
750 }
751
748 void Drain(HttpNetworkSession* session) override {} 752 void Drain(HttpNetworkSession* session) override {}
749 753
750 void SetPriority(RequestPriority priority) override {} 754 void SetPriority(RequestPriority priority) override {}
751 755
752 UploadProgress GetUploadProgress() const override { 756 UploadProgress GetUploadProgress() const override {
753 return UploadProgress(); 757 return UploadProgress();
754 } 758 }
755 759
756 HttpStream* RenewStreamForAuth() override { return nullptr; } 760 HttpStream* RenewStreamForAuth() override { return nullptr; }
757 761
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 req_->SetLoadFlags(LOAD_DISABLE_CACHE); 793 req_->SetLoadFlags(LOAD_DISABLE_CACHE);
790 job->Start(); 794 job->Start();
791 base::RunLoop().RunUntilIdle(); 795 base::RunLoop().RunUntilIdle();
792 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); 796 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status());
793 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); 797 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called());
794 } 798 }
795 799
796 } // namespace 800 } // namespace
797 801
798 } // namespace net 802 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698