Commit ac33c2f0 authored by wuhu@google.com's avatar wuhu@google.com

disable WebView SSL exception when command line flag ignore-certificate-errors is given

BUG=396157

Review URL: https://codereview.chromium.org/427673006

Cr-Commit-Position: refs/heads/master@{#289497}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289497 0039d316-1c4b-4281-b951-d872f2087c98
parent eb6b97f3
...@@ -79,6 +79,9 @@ void ApplyCmdlineOverridesToNetworkSessionParams( ...@@ -79,6 +79,9 @@ void ApplyCmdlineOverridesToNetworkSessionParams(
switches::kTestingFixedHttpsPort), &value); switches::kTestingFixedHttpsPort), &value);
params->testing_fixed_https_port = value; params->testing_fixed_https_port = value;
} }
if (command_line.HasSwitch(switches::kIgnoreCertificateErrors)) {
params->ignore_certificate_errors = true;
}
} }
void PopulateNetworkSessionParams( void PopulateNetworkSessionParams(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment