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

Unified Diff: content/browser/ssl/ssl_policy.cc

Issue 369703002: Remember user decisions on invalid certificates behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed broken include Created 6 years, 5 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: content/browser/ssl/ssl_policy.cc
diff --git a/content/browser/ssl/ssl_policy.cc b/content/browser/ssl/ssl_policy.cc
index 2abee5bf437970bd7fc2151ef6059a97064e8642..c06c7db852c97d6ca4bc75aaa7d1d608fc54c972 100644
--- a/content/browser/ssl/ssl_policy.cc
+++ b/content/browser/ssl/ssl_policy.cc
@@ -33,10 +33,10 @@ SSLPolicy::SSLPolicy(SSLPolicyBackend* backend)
void SSLPolicy::OnCertError(SSLCertErrorHandler* handler) {
// First we check if we know the policy for this error.
- net::CertPolicy::Judgment judgment = backend_->QueryPolicy(
- handler->ssl_info().cert.get(),
- handler->request_url().host(),
- handler->cert_error());
+ net::CertPolicy::Judgment judgment =
+ backend_->QueryPolicy(handler->ssl_info().cert.get(),
+ handler->request_url().host(),
+ handler->cert_error());
if (judgment == net::CertPolicy::ALLOWED) {
handler->ContinueRequest();

Powered by Google App Engine
This is Rietveld 408576698