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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 580143002: Revert of easy-unlock: Only show "Set up" UI for en-US. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index d8721160072cf498386541f3312dba4bf6b6df8b..c67ef9011adaf3031f373bbea03ce54d4a0bcd07 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -1025,13 +1025,6 @@
* @param {boolean} hasPairing True if the current profile has a pairing.
*/
updateEasyUnlock_: function(hasPairing) {
- // Hide "Set up" UI when the language is not en-US.
- // TODO(xiyuan): Remove this after M38.
- if (loadTimeData.getBoolean('easyUnlockAllowed')) {
- $('easy-unlock-section').hidden =
- !hasPairing && navigator.language != 'en-US';
- }
-
$('easy-unlock-setup').hidden = hasPairing;
$('easy-unlock-enable').hidden = !hasPairing;
if (!hasPairing && EasyUnlockTurnOffOverlay.getInstance().visible) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698