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

Unified Diff: chrome/browser/resources/flags.js

Issue 23532034: Postpone loading about:flags ui until the certificates have been loaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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/flags.js
diff --git a/chrome/browser/resources/flags.js b/chrome/browser/resources/flags.js
index c6e2765d249c59299fce35bd60822d84aec62a74..4c3a180f1617bd1794a886198eb7170a3312b436 100644
--- a/chrome/browser/resources/flags.js
+++ b/chrome/browser/resources/flags.js
@@ -131,7 +131,8 @@ function resetAllFlags() {
* ],
* needsRestart: false,
* showBetaChannelPromotion: false,
- * showDevChannelPromotion: false
+ * showDevChannelPromotion: false,
+ * showOwnerWarning: false
* }
*/
function returnFlagsExperiments(experimentsData) {
@@ -144,6 +145,9 @@ function returnFlagsExperiments(experimentsData) {
$('channel-promo-dev').hidden = false;
bodyContainer.style.visibility = 'visible';
+ var ownerWarningDiv = $('owner-warning');
+ if (ownerWarningDiv)
+ ownerWarningDiv.hidden = !experimentsData.showOwnerWarning;
}
/**

Powered by Google App Engine
This is Rietveld 408576698