Chromium Code Reviews| Index: android_webview/browser/net/aw_url_request_context_getter.cc |
| diff --git a/android_webview/browser/net/aw_url_request_context_getter.cc b/android_webview/browser/net/aw_url_request_context_getter.cc |
| index 94da7366edbc5b2078a6871a7ee754b18dd5d6c0..d2edca15815fd95dc40d28c706caaeaa81a3d3e4 100644 |
| --- a/android_webview/browser/net/aw_url_request_context_getter.cc |
| +++ b/android_webview/browser/net/aw_url_request_context_getter.cc |
| @@ -78,6 +78,11 @@ void ApplyCmdlineOverridesToNetworkSessionParams( |
| switches::kTestingFixedHttpsPort), &value); |
| params->testing_fixed_https_port = value; |
| } |
| + if (command_line.HasSwitch(switches::kIgnoreCertificateErrors)) { |
| + params->ignore_certificate_errors = true; |
| + } else { |
| + params->ignore_certificate_errors = false; |
|
sgurun-gerrit only
2014/07/29 22:21:18
default is false, so no need to do it (and it seem
|
| + } |
| } |
| void PopulateNetworkSessionParams( |