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

Unified Diff: net/http/http_response_body_drainer_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: Add UMA logging of Token Binding support and NetLog event for Token Binding key lookup Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: net/http/http_response_body_drainer_unittest.cc
diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc
index 358cea7e166cb88c59a7ad05f8ed51403bba5ac5..56ecd41f03ba8168956172de57ed70fb54979321 100644
--- a/net/http/http_response_body_drainer_unittest.cc
+++ b/net/http/http_response_body_drainer_unittest.cc
@@ -106,6 +106,12 @@ class MockHttpStream : public HttpStream {
void GetSSLInfo(SSLInfo* ssl_info) override {}
void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {}
bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; }
+ int GetProvidedTokenBindingWithKey(
+ const scoped_ptr<crypto::ECPrivateKey>& key,
+ std::string* header_out) override {
+ ADD_FAILURE();
+ return ERR_NOT_IMPLEMENTED;
+ }
// Mocked API
int ReadResponseBody(IOBuffer* buf,

Powered by Google App Engine
This is Rietveld 408576698