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

Unified Diff: chrome/browser/resources/identity_internals.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: hackhackhack Created 3 years, 11 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/identity_internals.js
diff --git a/chrome/browser/resources/identity_internals.js b/chrome/browser/resources/identity_internals.js
index ae036234e6b63199aedd0f283c3cf914200e9c51..ac5271743717a43964f3ac3d286e16e24cb58d6f 100644
--- a/chrome/browser/resources/identity_internals.js
+++ b/chrome/browser/resources/identity_internals.js
@@ -34,8 +34,8 @@ cr.define('identity_internals', function() {
'extensionName', this.data_.extensionName, 'extension-name'));
tbody.appendChild(this.createEntry_(
'extensionId', this.data_.extensionId, 'extension-id'));
- tbody.appendChild(this.createEntry_(
- 'tokenStatus', this.data_.status, 'token-status'));
+ tbody.appendChild(
+ this.createEntry_('tokenStatus', this.data_.status, 'token-status'));
tbody.appendChild(this.createEntry_(
'expirationTime', this.data_.expirationTime, 'expiration-time'));
tbody.appendChild(this.createEntryForScopes_());
@@ -113,8 +113,9 @@ cr.define('identity_internals', function() {
var revokeButton = this.ownerDocument.createElement('button');
revokeButton.classList.add('revoke-button');
revokeButton.addEventListener('click', function() {
- chrome.send('identityInternalsRevokeToken',
- [this.data_.extensionId, this.data_.accessToken]);
+ chrome.send(
+ 'identityInternalsRevokeToken',
+ [this.data_.extensionId, this.data_.accessToken]);
}.bind(this));
revokeButton.textContent = loadTimeData.getString('revoke');
return revokeButton;

Powered by Google App Engine
This is Rietveld 408576698