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

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

Issue 2617663002: WIP: run clang-format-js on lots of things (Closed)
Patch Set: merge 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/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 715320dd05a744915306863d1b30702aa8319bfb..69a6da15380d5c1dab1bf53f687d8fc2786f74fa 100644
--- a/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js
@@ -106,12 +106,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);
}
@@ -156,8 +155,7 @@ Polymer({
/** @private */
onDotsTap_: function() {
- var actionMenu = /** @type {!CrActionMenuElement} */(
- this.$.menu.get());
+ var actionMenu = /** @type {!CrActionMenuElement} */ (this.$.menu.get());
actionMenu.showAt(assert(this.$$('paper-icon-button')));
},
});

Powered by Google App Engine
This is Rietveld 408576698