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

Unified Diff: content/browser/ssl/ssl_cert_error_handler.h

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_cert_error_handler.h
diff --git a/content/browser/ssl/ssl_cert_error_handler.h b/content/browser/ssl/ssl_cert_error_handler.h
index e3c4378f16781828714159ac614c4306b2b77b75..fa31abde20efa520bd9e65de8a8f309c7d0965f1 100644
--- a/content/browser/ssl/ssl_cert_error_handler.h
+++ b/content/browser/ssl/ssl_cert_error_handler.h
@@ -19,13 +19,13 @@ namespace content {
class SSLCertErrorHandler : public SSLErrorHandler {
public:
// Construct on the IO thread.
- SSLCertErrorHandler(const base::WeakPtr<Delegate>& delegate,
- ResourceType resource_type,
- const GURL& url,
- int render_process_id,
- int render_frame_id,
- const net::SSLInfo& ssl_info,
- bool fatal);
+ SSLCertErrorHandler(
+ const base::WeakPtr<Delegate>& delegate,
+ ResourceType resource_type,
+ const GURL& url,
+ const ResourceRequestInfo::WebContentsGetterOnUI& web_contents_getter,
+ const net::SSLInfo& ssl_info,
+ bool fatal);
SSLCertErrorHandler* AsSSLCertErrorHandler() override;

Powered by Google App Engine
This is Rietveld 408576698