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

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

Issue 341653006: Add experimental versions of the SSL interstitial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no more important 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
« no previous file with comments | « chrome/browser/resources/ssl/interstitial_v2.js ('k') | chrome/browser/ssl/ssl_blocking_page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ssl/ssl_errors_common.js
diff --git a/chrome/browser/resources/ssl/ssl_errors_common.js b/chrome/browser/resources/ssl/ssl_errors_common.js
index 190a8eb537ca85c71523340f5dd64e03859c2101..cfa0c37c97501ab1faccddcafdb94b0d6e883f80 100644
--- a/chrome/browser/resources/ssl/ssl_errors_common.js
+++ b/chrome/browser/resources/ssl/ssl_errors_common.js
@@ -42,3 +42,11 @@ function sharedSetup() {
}
document.addEventListener('DOMContentLoaded', sharedSetup);
+
+// For the M37 Finch trial. https://crbug.com/386033
+function setupSSLFinchTrial() {
+ if (loadTimeData.getString('trialCondition') == 'V2Yellow')
+ $('body').classList.add('yellow');
+ else if (loadTimeData.getString('trialCondition') == 'V2WithGuard')
+ $('body').classList.add('ssl-guard');
+}
« no previous file with comments | « chrome/browser/resources/ssl/interstitial_v2.js ('k') | chrome/browser/ssl/ssl_blocking_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698