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

Unified Diff: chrome/browser/resources/cryptotoken/cryptotokenorigincheck.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/cryptotokenorigincheck.js
diff --git a/chrome/browser/resources/cryptotoken/cryptotokenorigincheck.js b/chrome/browser/resources/cryptotoken/cryptotokenorigincheck.js
index 3e4ac5e05590866a790f9c370a37bb5eb77d3cb7..8f41de094a43b5b9fb2952a4b92e5fd3944d0efe 100644
--- a/chrome/browser/resources/cryptotoken/cryptotokenorigincheck.js
+++ b/chrome/browser/resources/cryptotoken/cryptotokenorigincheck.js
@@ -16,8 +16,7 @@
* @implements OriginChecker
* @constructor
*/
-function CryptoTokenOriginChecker() {
-}
+function CryptoTokenOriginChecker() {}
/**
* Checks whether the origin is allowed to claim the app ids.
@@ -41,8 +40,7 @@ CryptoTokenOriginChecker.prototype.canClaimAppIds = function(origin, appIds) {
* @return {Promise<boolean>} A promise for the result of the check
* @private
*/
-CryptoTokenOriginChecker.prototype.checkAppId_ =
- function(origin, appId) {
+CryptoTokenOriginChecker.prototype.checkAppId_ = function(origin, appId) {
return new Promise(function(resolve, reject) {
if (!chrome.cryptotokenPrivate) {
reject();

Powered by Google App Engine
This is Rietveld 408576698