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

Unified Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.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_delete_confirmation_dialog.js
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js b/chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js
index 0ed718010adee17244346ca1e0d4d6e50169c73a..6abeecef1d92be65924e7ff5505709aaa2d1c0e2 100644
--- a/chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js
@@ -82,14 +82,15 @@ Polymer({
/** @private */
onOkTap_: function() {
- this.browserProxy_.deleteCertificate(this.model.id).then(
- function() {
- /** @type {!CrDialogElement} */ (this.$.dialog).close();
- }.bind(this),
- /** @param {!CertificatesError} error */
- function(error) {
- /** @type {!CrDialogElement} */ (this.$.dialog).close();
- this.fire('certificates-error', {error: error, anchor: null});
- }.bind(this));
+ this.browserProxy_.deleteCertificate(this.model.id)
+ .then(
+ function() {
+ /** @type {!CrDialogElement} */ (this.$.dialog).close();
+ }.bind(this),
+ /** @param {!CertificatesError} error */
+ function(error) {
+ /** @type {!CrDialogElement} */ (this.$.dialog).close();
+ this.fire('certificates-error', {error: error, anchor: null});
+ }.bind(this));
},
});

Powered by Google App Engine
This is Rietveld 408576698