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

Unified Diff: chrome/browser/resources/ssl/interstitial_v2.js

Issue 346733003: Add experimental versions of the malware interstitial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweak to "not recommended" string Created 6 years, 6 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: chrome/browser/resources/ssl/interstitial_v2.js
diff --git a/chrome/browser/resources/ssl/interstitial_v2.js b/chrome/browser/resources/ssl/interstitial_v2.js
index a70b7bda9c20a648d5ddf18df24db8db577b0242..52becaf8e58a88665c97a889ad623347ae3669bf 100644
--- a/chrome/browser/resources/ssl/interstitial_v2.js
+++ b/chrome/browser/resources/ssl/interstitial_v2.js
@@ -11,10 +11,12 @@ function setupEvents() {
var overridable = loadTimeData.getBoolean('overridable');
var ssl = loadTimeData.getBoolean('ssl');
- if (ssl)
+ if (ssl) {
$('body').classList.add('ssl');
- else
+ } else {
$('body').classList.add('safe-browsing');
+ setupMalwareFinchExperiment();
+ }
$('primary-button').addEventListener('click', function() {
if (!ssl)
« no previous file with comments | « chrome/browser/resources/ssl/interstitial_v2.css ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698