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

Unified Diff: chrome/browser/resources/settings/people_page/setup_fingerprint_dialog.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/setup_fingerprint_dialog.js
diff --git a/chrome/browser/resources/settings/people_page/setup_fingerprint_dialog.js b/chrome/browser/resources/settings/people_page/setup_fingerprint_dialog.js
index cc58a627a8ee259ac9a53e160f3f043cf2375c61..e1922890789b9711cadc1100a50461c4e8581137 100644
--- a/chrome/browser/resources/settings/people_page/setup_fingerprint_dialog.js
+++ b/chrome/browser/resources/settings/people_page/setup_fingerprint_dialog.js
@@ -9,9 +9,9 @@ cr.exportPath('settings');
* @enum {number}
*/
settings.FingerprintSetupStep = {
- LOCATE_SCANNER: 1, // The user needs to locate the scanner.
- MOVE_FINGER: 2, // The user needs to move finger around the scanner.
- READY: 3 // The scanner has read the fingerprint successfully.
+ LOCATE_SCANNER: 1, // The user needs to locate the scanner.
+ MOVE_FINGER: 2, // The user needs to move finger around the scanner.
+ READY: 3 // The scanner has read the fingerprint successfully.
};
(function() {
@@ -103,7 +103,7 @@ Polymer({
// Note: Reset resets |step_| back to the default, so handle anything that
// checks |step_| before resetting.
- if(this.step_ == settings.FingerprintSetupStep.READY)
+ if (this.step_ == settings.FingerprintSetupStep.READY)
this.fire('add-fingerprint');
else
this.browserProxy_.cancelCurrentEnroll();
@@ -176,7 +176,8 @@ Polymer({
opacity: [0.7, 1.0],
},
FLASH_DURATION_MS);
- this.$.arc.animate(this.receivedScanCount_ * slice,
+ this.$.arc.animate(
+ this.receivedScanCount_ * slice,
(this.receivedScanCount_ + 1) * slice);
this.receivedScanCount_++;
}

Powered by Google App Engine
This is Rietveld 408576698