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

Side by Side Diff: chrome/browser/resources/settings/certificate_manager_page/certificates_browser_proxy.js

Issue 1819563002: MD Settings: Certificate manager, populate UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview A helper object used from the "Manage certificates" section 6 * @fileoverview A helper object used from the "Manage certificates" section
7 * to interact with the browser. 7 * to interact with the browser.
8 */ 8 */
9 9
10 /** 10 /**
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 OTHER: 'other', 73 OTHER: 'other',
74 PERSONAL: 'personal', 74 PERSONAL: 'personal',
75 SERVER: 'server', 75 SERVER: 'server',
76 }; 76 };
77 77
78 /** @interface */ 78 /** @interface */
79 function CertificatesBrowserProxy() {} 79 function CertificatesBrowserProxy() {}
80 80
81 CertificatesBrowserProxy.prototype = { 81 CertificatesBrowserProxy.prototype = {
82 /** 82 /**
83 * Triggers two events in the following order 83 * Triggers 5 events in the following order
84 * 1) 'certificates-model-ready' event. 84 * 1x 'certificates-model-ready' event.
85 * 2) 'certificates-changed' event. 85 * 4x 'certificates-changed' event, one for each certificate category.
86 */ 86 */
87 refreshCertificates: function() {}, 87 refreshCertificates: function() {},
88 88
89 /** @param {string} id */ 89 /** @param {string} id */
90 viewCertificate: function(id) {}, 90 viewCertificate: function(id) {},
91 91
92 /** @param {string} id */ 92 /** @param {string} id */
93 exportCertificate: function(id) {}, 93 exportCertificate: function(id) {},
94 94
95 /** 95 /**
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 importServerCertificate: function() { 258 importServerCertificate: function() {
259 return cr.sendWithPromise('importServerCertificate'); 259 return cr.sendWithPromise('importServerCertificate');
260 }, 260 },
261 }; 261 };
262 262
263 return { 263 return {
264 CertificatesBrowserProxyImpl: CertificatesBrowserProxyImpl, 264 CertificatesBrowserProxyImpl: CertificatesBrowserProxyImpl,
265 CertificateType: CertificateType, 265 CertificateType: CertificateType,
266 }; 266 };
267 }); 267 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698