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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 1389213003: [Cronet] Use Https for Quic Test Server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ryancl
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: net/url_request/url_request_context_builder.h
diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
index 5612dde054a28142ac045c128060a617e5d98c79..f909137a7c90de37d4f111870da60e42f37675f6 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -173,6 +173,11 @@ class NET_EXPORT URLRequestContextBuilder {
http_network_session_params_ = http_network_session_params;
}
+ void set_ignore_certificate_errors(bool ignore_certificate_errors) {
pauljensen 2015/10/08 18:39:25 This needs a comment
xunjieli 2015/10/09 19:53:28 Done.
+ http_network_session_params_.ignore_certificate_errors =
+ ignore_certificate_errors;
+ }
+
void set_transport_security_persister_path(
const base::FilePath& transport_security_persister_path) {
transport_security_persister_path_ = transport_security_persister_path;

Powered by Google App Engine
This is Rietveld 408576698