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

Unified Diff: chrome/browser/resources/settings/people_page/lock_screen.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review Created 3 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/settings/people_page/lock_screen.js
diff --git a/chrome/browser/resources/settings/people_page/lock_screen.js b/chrome/browser/resources/settings/people_page/lock_screen.js
index ac2759d7f62ff03a5208d3b0a89c6d2b1d1ef941..f5b62a7980d04b2c8fd21871d1b603a0ba95829a 100644
--- a/chrome/browser/resources/settings/people_page/lock_screen.js
+++ b/chrome/browser/resources/settings/people_page/lock_screen.js
@@ -176,7 +176,8 @@ Polymer({
if (this.shouldAskForPassword_(newRoute)) {
this.openPasswordPromptDialog_();
- } else if (newRoute != settings.Route.FINGERPRINT &&
+ } else if (
+ newRoute != settings.Route.FINGERPRINT &&
oldRoute != settings.Route.FINGERPRINT) {
// If the user navigated away from the lock screen settings page they will
// have to re-enter their password. An exception is if they are navigating
@@ -262,8 +263,8 @@ Polymer({
/** @private */
getDescriptionText_: function() {
if (this.numFingerprints_ > 0) {
- return this.i18n('lockScreenNumberFingerprints',
- this.numFingerprints_.toString());
+ return this.i18n(
+ 'lockScreenNumberFingerprints', this.numFingerprints_.toString());
}
return this.i18n('lockScreenEditFingerprintsDescription');

Powered by Google App Engine
This is Rietveld 408576698