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

Unified Diff: chrome/browser/resources/cryptotoken/gnubbyfactory.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: 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/cryptotoken/gnubbyfactory.js
diff --git a/chrome/browser/resources/cryptotoken/gnubbyfactory.js b/chrome/browser/resources/cryptotoken/gnubbyfactory.js
index 5be99d6765cd413c11e5aaf4d508563855cc80e8..aca6c6d47ea35d0b0efb95daefcf787f7d57eaf4 100644
--- a/chrome/browser/resources/cryptotoken/gnubbyfactory.js
+++ b/chrome/browser/resources/cryptotoken/gnubbyfactory.js
@@ -17,8 +17,7 @@ function GnubbyFactory() {}
* Enumerates gnubbies.
* @param {function(number, Array<GnubbyDeviceId>)} cb Enumerate callback
*/
-GnubbyFactory.prototype.enumerate = function(cb) {
-};
+GnubbyFactory.prototype.enumerate = function(cb) {};
/** @typedef {function(number, Gnubby=)} */
var FactoryOpenCallback;
@@ -36,9 +35,8 @@ var FactoryOpenCallback;
* that can be used to cancel this pending open operation. Opening device
* might take long time or be resource-hungry.
*/
-GnubbyFactory.prototype.openGnubby =
- function(which, forEnroll, cb, opt_appIdHash, opt_logMsgUrl, opt_caller) {
-};
+GnubbyFactory.prototype.openGnubby = function(
+ which, forEnroll, cb, opt_appIdHash, opt_logMsgUrl, opt_caller) {};
/**
* Called during enrollment to check whether a gnubby known not to be enrolled
@@ -50,6 +48,5 @@ GnubbyFactory.prototype.openGnubby =
* @param {FactoryOpenCallback} cb Called with the result of the prerequisite
* check. (A non-zero status indicates failure.)
*/
-GnubbyFactory.prototype.notEnrolledPrerequisiteCheck =
- function(gnubby, appIdHash, cb) {
-};
+GnubbyFactory.prototype.notEnrolledPrerequisiteCheck = function(
+ gnubby, appIdHash, cb) {};

Powered by Google App Engine
This is Rietveld 408576698