| 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();
|
|
|