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

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

Issue 1459473003: Add a WebContents getter callback in ResourceRequestInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 dab2a5aa1ecd98f5627175d19dc0cfa6fe705301..bd33a5574534b9abaab5a4cee48083fdfc0f1b70 100644
--- a/content/browser/ssl/ssl_policy.cc
+++ b/content/browser/ssl/ssl_policy.cc
@@ -232,8 +232,7 @@ void SSLPolicy::OnCertErrorInternal(SSLCertErrorHandler* handler,
CertificateRequestResultType result =
CERTIFICATE_REQUEST_RESULT_TYPE_CONTINUE;
GetContentClient()->browser()->AllowCertificateError(
- handler->render_process_id(),
- handler->render_frame_id(),
+ handler->web_contents_getter(),
davidben 2015/11/19 17:46:13 Wow, this code is all kinds of silly. This gets ca
davidben 2015/11/19 17:50:25 Oh! And even SSLPolicy is a per-WebContents object
clamy 2015/11/20 13:50:43 Done. I now expose the manager from the handler, a
handler->cert_error(),
handler->ssl_info(),
handler->request_url(),

Powered by Google App Engine
This is Rietveld 408576698