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

Unified Diff: chrome/browser/ssl/captive_portal_blocking_page.h

Issue 2220603003: Remove unnecessary |result| argument from AllowCertificateError() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unnecessary include Created 4 years, 4 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
« no previous file with comments | « chrome/browser/ssl/bad_clock_blocking_page.cc ('k') | chrome/browser/ssl/captive_portal_blocking_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/captive_portal_blocking_page.h
diff --git a/chrome/browser/ssl/captive_portal_blocking_page.h b/chrome/browser/ssl/captive_portal_blocking_page.h
index ce185d9a406e763c4a8f9139dfdcba27877a456e..170b251f97e19b3ad244890341e1727eaab5568b 100644
--- a/chrome/browser/ssl/captive_portal_blocking_page.h
+++ b/chrome/browser/ssl/captive_portal_blocking_page.h
@@ -11,6 +11,7 @@
#include "base/callback.h"
#include "base/macros.h"
#include "chrome/browser/interstitials/security_interstitial_page.h"
+#include "content/public/browser/certificate_request_result_type.h"
#include "url/gurl.h"
#if !defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
@@ -40,12 +41,14 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage {
// Interstitial type, for testing.
static const void* const kTypeForTesting;
- CaptivePortalBlockingPage(content::WebContents* web_contents,
- const GURL& request_url,
- const GURL& login_url,
- std::unique_ptr<SSLCertReporter> ssl_cert_reporter,
- const net::SSLInfo& ssl_info,
- const base::Callback<void(bool)>& callback);
+ CaptivePortalBlockingPage(
+ content::WebContents* web_contents,
+ const GURL& request_url,
+ const GURL& login_url,
+ std::unique_ptr<SSLCertReporter> ssl_cert_reporter,
+ const net::SSLInfo& ssl_info,
+ const base::Callback<void(content::CertificateRequestResultType)>&
+ callback);
~CaptivePortalBlockingPage() override;
// InterstitialPageDelegate method:
@@ -72,7 +75,7 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage {
// URL of the login page, opened when the user clicks the "Connect" button.
const GURL login_url_;
std::unique_ptr<CertReportHelper> cert_report_helper_;
- base::Callback<void(bool)> callback_;
+ base::Callback<void(content::CertificateRequestResultType)> callback_;
DISALLOW_COPY_AND_ASSIGN(CaptivePortalBlockingPage);
};
« no previous file with comments | « chrome/browser/ssl/bad_clock_blocking_page.cc ('k') | chrome/browser/ssl/captive_portal_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698