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

Unified Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review 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/settings/certificate_manager_page/certificate_subentry.js
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js b/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js
index cd76f4b9d55b4f294410c0efb2baf52de77ad93f..9c858be8b982beedb88fb47889af582dccdd2caa 100644
--- a/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js
@@ -107,12 +107,11 @@ Polymer({
onExportTap_: function(event) {
this.closePopupMenu_();
if (this.certificateType == CertificateType.PERSONAL) {
- this.browserProxy_.exportPersonalCertificate(this.model.id).then(
- function() {
+ this.browserProxy_.exportPersonalCertificate(this.model.id)
+ .then(function() {
this.dispatchCertificateActionEvent_(
CertificateAction.EXPORT_PERSONAL);
- }.bind(this),
- this.onRejected_.bind(this));
+ }.bind(this), this.onRejected_.bind(this));
} else {
this.browserProxy_.exportCertificate(this.model.id);
}
@@ -157,8 +156,7 @@ Polymer({
/** @private */
onDotsTap_: function() {
- var actionMenu = /** @type {!CrActionMenuElement} */(
- this.$.menu.get());
+ var actionMenu = /** @type {!CrActionMenuElement} */ (this.$.menu.get());
actionMenu.showAt(this.$.dots);
},
});

Powered by Google App Engine
This is Rietveld 408576698