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

Unified Diff: chrome/browser/resources/md_extensions/item.js

Issue 2948443003: Run clang-format on .js files in c/b/r/md_extensions (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/md_extensions/item.js
diff --git a/chrome/browser/resources/md_extensions/item.js b/chrome/browser/resources/md_extensions/item.js
index 83dd8f557cd58c6ae7671a202586323c5d2bebb2..7e1570b2b9f4a4ad106cdd8e6fe7c0050dc0e366 100644
--- a/chrome/browser/resources/md_extensions/item.js
+++ b/chrome/browser/resources/md_extensions/item.js
@@ -109,7 +109,7 @@ cr.define('extensions', function() {
*/
computeErrorsHidden_: function() {
return !this.data.manifestErrors.length &&
- !this.data.runtimeErrors.length;
+ !this.data.runtimeErrors.length;
},
/** @private */
@@ -119,8 +119,8 @@ cr.define('extensions', function() {
/** @private */
onEnableChange_: function() {
- this.delegate.setItemEnabled(this.data.id,
- this.$['enable-toggle'].checked);
+ this.delegate.setItemEnabled(
+ this.data.id, this.$['enable-toggle'].checked);
},
/** @private */
@@ -160,7 +160,9 @@ cr.define('extensions', function() {
* @return {boolean}
* @private
*/
- isEnabled_: function() { return extensions.isEnabled(this.data.state); },
+ isEnabled_: function() {
+ return extensions.isEnabled(this.data.state);
+ },
/**
* @return {boolean}
@@ -224,8 +226,9 @@ cr.define('extensions', function() {
*/
computeSourceIndicatorText_: function() {
var sourceType = extensions.getItemSource(this.data);
- return sourceType == SourceType.WEBSTORE ? '' :
- extensions.getItemSourceString(sourceType);
+ return sourceType == SourceType.WEBSTORE ?
+ '' :
+ extensions.getItemSourceString(sourceType);
},
/**
@@ -281,8 +284,8 @@ cr.define('extensions', function() {
* @private
*/
computeExtraInspectLabel_: function() {
- return loadTimeData.getStringF('itemInspectViewsExtra',
- this.data.views.length - 1);
+ return loadTimeData.getStringF(
+ 'itemInspectViewsExtra', this.data.views.length - 1);
},
/**
@@ -291,8 +294,8 @@ cr.define('extensions', function() {
*/
hasWarnings_: function() {
return this.data.disableReasons.corruptInstall ||
- this.data.disableReasons.suspiciousInstall ||
- !!this.data.blacklistText;
+ this.data.disableReasons.suspiciousInstall ||
+ !!this.data.blacklistText;
},
/**
@@ -309,4 +312,3 @@ cr.define('extensions', function() {
ItemDelegate: ItemDelegate,
};
});
-

Powered by Google App Engine
This is Rietveld 408576698