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

Unified Diff: chrome/browser/ssl/bad_clock_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/chrome_content_browser_client.cc ('k') | chrome/browser/ssl/bad_clock_blocking_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/bad_clock_blocking_page.h
diff --git a/chrome/browser/ssl/bad_clock_blocking_page.h b/chrome/browser/ssl/bad_clock_blocking_page.h
index 48366d9702ae6b11eb04e2523a5f675aa716f153..2c321803688efeab64adbb209e46a05c08278bc7 100644
--- a/chrome/browser/ssl/bad_clock_blocking_page.h
+++ b/chrome/browser/ssl/bad_clock_blocking_page.h
@@ -14,6 +14,7 @@
#include "chrome/browser/interstitials/security_interstitial_page.h"
#include "chrome/browser/ssl/ssl_cert_reporter.h"
#include "components/ssl_errors/error_classification.h"
+#include "content/public/browser/certificate_request_result_type.h"
#include "net/ssl/ssl_info.h"
class CertReportHelper;
@@ -42,7 +43,8 @@ class BadClockBlockingPage : public SecurityInterstitialPage {
const base::Time& time_triggered,
ssl_errors::ClockState clock_state,
std::unique_ptr<SSLCertReporter> ssl_cert_reporter,
- const base::Callback<void(bool)>& callback);
+ const base::Callback<void(
+ content::CertificateRequestResultType)>& callback);
~BadClockBlockingPage() override;
@@ -68,7 +70,7 @@ class BadClockBlockingPage : public SecurityInterstitialPage {
private:
void NotifyDenyCertificate();
- base::Callback<void(bool)> callback_;
+ base::Callback<void(content::CertificateRequestResultType)> callback_;
const net::SSLInfo ssl_info_;
const base::Time time_triggered_;
std::unique_ptr<ChromeControllerClient> controller_;
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ssl/bad_clock_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698