Use kIgnoreCertificateErrors from content_switches.h
This commit is contained in:
parent
db6d75ca90
commit
ca274f7be0
3 changed files with 1 additions and 5 deletions
|
@ -307,7 +307,7 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {
|
|||
network_session_params.enable_http2 = false;
|
||||
|
||||
// --ignore-certificate-errors
|
||||
if (command_line.HasSwitch(switches::kIgnoreCertificateErrors))
|
||||
if (command_line.HasSwitch(::switches::kIgnoreCertificateErrors))
|
||||
network_session_params.ignore_certificate_errors = true;
|
||||
|
||||
// --host-rules
|
||||
|
|
|
@ -50,9 +50,6 @@ const char kAuthServerWhitelist[] = "auth-server-whitelist";
|
|||
const char kAuthNegotiateDelegateWhitelist[] =
|
||||
"auth-negotiate-delegate-whitelist";
|
||||
|
||||
// Ignores certificate-related errors.
|
||||
const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
|
||||
|
||||
// Forces the maximum disk space to be used by the disk cache, in bytes.
|
||||
const char kDiskCacheSize[] = "disk-cache-size";
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ extern const char kProxyPacUrl[];
|
|||
extern const char kDisableHttp2[];
|
||||
extern const char kAuthServerWhitelist[];
|
||||
extern const char kAuthNegotiateDelegateWhitelist[];
|
||||
extern const char kIgnoreCertificateErrors[];
|
||||
extern const char kDiskCacheSize[];
|
||||
|
||||
} // namespace switches
|
||||
|
|
Loading…
Reference in a new issue