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

Unified Diff: components/security_interstitials/content/security_interstitial_controller_client.cc

Issue 2858043004: Support interstitials with no primary button (Closed)
Patch Set: Created 3 years, 7 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
Index: components/security_interstitials/content/security_interstitial_controller_client.cc
diff --git a/components/security_interstitials/content/security_interstitial_controller_client.cc b/components/security_interstitials/content/security_interstitial_controller_client.cc
index 150505e5f5ad71b93849ad88951833276703d720..5bca261406fe4a27757eec0d16aceaf0d6b0dee6 100644
--- a/components/security_interstitials/content/security_interstitial_controller_client.cc
+++ b/components/security_interstitials/content/security_interstitial_controller_client.cc
@@ -99,4 +99,9 @@ void SecurityInterstitialControllerClient::LaunchDateAndTimeSettings() {
NOTREACHED();
}
+// For testing, should be set in the WV controller.
felt 2017/05/05 00:31:14 I'm confused by this comment
edwardjung 2017/05/05 10:24:24 Wasn't sure whether this was going to be hard code
+bool SecurityInterstitialControllerClient::CanGoBack() {
+ return true;
+}
+
} // namespace security_interstitials

Powered by Google App Engine
This is Rietveld 408576698