diff options
Diffstat (limited to 'chrome/browser/ssl_policy.cc')
-rw-r--r-- | chrome/browser/ssl_policy.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/ssl_policy.cc b/chrome/browser/ssl_policy.cc index 08f7936..1ae9ae1 100644 --- a/chrome/browser/ssl_policy.cc +++ b/chrome/browser/ssl_policy.cc @@ -303,21 +303,21 @@ class DefaultPolicy : public SSLPolicy { } // First we check if we know the policy for this error. - X509Certificate::Policy::Judgment judgment = + net::X509Certificate::Policy::Judgment judgment = error->manager()->QueryPolicy(error->ssl_info().cert, error->request_url().host()); - switch(judgment) { - case X509Certificate::Policy::ALLOWED: + switch (judgment) { + case net::X509Certificate::Policy::ALLOWED: // We've been told to allow this certificate. error->manager()->SetMaxSecurityStyle( SECURITY_STYLE_AUTHENTICATION_BROKEN); error->ContinueRequest(); break; - case X509Certificate::Policy::DENIED: + case net::X509Certificate::Policy::DENIED: // For now we handle the DENIED as the UNKNOWN, which means a blocking // page is shown to the user every time he comes back to the page. - case X509Certificate::Policy::UNKNOWN: + case net::X509Certificate::Policy::UNKNOWN: // We don't know how to handle this error. Ask our sub-policies. sub_policies_[index]->OnCertError(main_frame_url, error); break; |