Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 2145e4418f4c53f0b96bcfa7be95b0b2f0b57094..70a13bdd7d14b8f211c28df2745d57232b39c09b 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -17,6 +17,7 @@ |
#include "base/values.h" |
#include "content/public/browser/certificate_request_result_type.h" |
#include "content/public/browser/navigation_throttle.h" |
+#include "content/public/browser/resource_request_info.h" |
#include "content/public/common/content_client.h" |
#include "content/public/common/media_stream_request.h" |
#include "content/public/common/resource_type.h" |
@@ -464,17 +465,17 @@ class CONTENT_EXPORT ContentBrowserClient { |
// asynchronously. If |result| is not set to |
// CERTIFICATE_REQUEST_RESULT_TYPE_CONTINUE, the request will be cancelled |
// or denied immediately, and the callback won't be run. |
- virtual void AllowCertificateError(int render_process_id, |
- int render_frame_id, |
- int cert_error, |
- const net::SSLInfo& ssl_info, |
- const GURL& request_url, |
- ResourceType resource_type, |
- bool overridable, |
- bool strict_enforcement, |
- bool expired_previous_decision, |
- const base::Callback<void(bool)>& callback, |
- CertificateRequestResultType* result) {} |
+ virtual void AllowCertificateError( |
+ const ResourceRequestInfo::WebContentsGetterOnUI& web_contents_getter, |
+ int cert_error, |
+ const net::SSLInfo& ssl_info, |
+ const GURL& request_url, |
+ ResourceType resource_type, |
+ bool overridable, |
+ bool strict_enforcement, |
+ bool expired_previous_decision, |
+ const base::Callback<void(bool)>& callback, |
+ CertificateRequestResultType* result) {} |
// Selects a SSL client certificate and returns it to the |delegate|. Note: |
// |delegate| may be called synchronously or asynchronously. |