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

Unified Diff: chrome/browser/resources/options/certificate_manager.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (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/options/certificate_manager.js
diff --git a/chrome/browser/resources/options/certificate_manager.js b/chrome/browser/resources/options/certificate_manager.js
index 1447008243267a122bf79bbbb7456d7c9119a75b..84c0395221198f643de68f5b961070b2e7ac851e 100644
--- a/chrome/browser/resources/options/certificate_manager.js
+++ b/chrome/browser/resources/options/certificate_manager.js
@@ -20,8 +20,8 @@ cr.define('options', function() {
this.tree = $(id + '-tree');
options.CertificatesTree.decorate(this.tree);
- this.tree.addEventListener('change',
- this.handleCertificatesTreeChange_.bind(this));
+ this.tree.addEventListener(
+ 'change', this.handleCertificatesTreeChange_.bind(this));
var tree = this.tree;
@@ -117,8 +117,7 @@ cr.define('options', function() {
AlertOverlay.show(
loadTimeData.getStringF(id + 'DeleteConfirm', data.name),
loadTimeData.getString(id + 'DeleteImpact'),
- loadTimeData.getString('ok'),
- loadTimeData.getString('cancel'),
+ loadTimeData.getString('ok'), loadTimeData.getString('cancel'),
function() {
tree.selectedItem = null;
chrome.send('deleteCertificate', [data.id]);
@@ -173,9 +172,10 @@ cr.define('options', function() {
* @extends {cr.ui.pageManager.Page}
*/
function CertificateManager() {
- Page.call(this, 'certificates',
- loadTimeData.getString('certificateManagerPageTabTitle'),
- 'certificateManagerPage');
+ Page.call(
+ this, 'certificates',
+ loadTimeData.getString('certificateManagerPageTabTitle'),
+ 'certificateManagerPage');
}
cr.addSingletonGetter(CertificateManager);
@@ -195,10 +195,10 @@ cr.define('options', function() {
initializePage: function() {
Page.prototype.initializePage.call(this);
- this.personalTab = new CertificateManagerTab('personalCertsTab',
- this.isKiosk_);
- this.serverTab = new CertificateManagerTab('serverCertsTab',
- this.isKiosk_);
+ this.personalTab =
+ new CertificateManagerTab('personalCertsTab', this.isKiosk_);
+ this.serverTab =
+ new CertificateManagerTab('serverCertsTab', this.isKiosk_);
this.caTab = new CertificateManagerTab('caCertsTab', this.isKiosk_);
this.otherTab = new CertificateManagerTab('otherCertsTab', this.isKiosk_);
@@ -245,8 +245,7 @@ cr.define('options', function() {
CertificateRestoreOverlay.show();
};
- CertificateManager.onModelReady = function(userDbAvailable,
- tpmAvailable) {
+ CertificateManager.onModelReady = function(userDbAvailable, tpmAvailable) {
if (!userDbAvailable)
return;
if (tpmAvailable)

Powered by Google App Engine
This is Rietveld 408576698