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

Unified Diff: net/socket/socket_test_util.h

Issue 1074193003: Verify alternative server certificate validity for origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: comments #7. Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: net/socket/socket_test_util.h
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index 1d9961999444f0b399586a529b7d3f34099f4ff2..779ef8a9324ee8e91d57fe2bee878c366b6cdae2 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -346,6 +346,7 @@ struct SSLSocketDataProvider {
~SSLSocketDataProvider();
void SetNextProto(NextProto proto);
+ void SetCertFromFile(const std::string& cert_filename);
MockConnect connect;
SSLClientSocket::NextProtoStatus next_proto_status;

Powered by Google App Engine
This is Rietveld 408576698