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

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

Issue 1867093003: MD Settings: Certificate manager, respect export/edit/delete restrictions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 8 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 /**
11 * @typedef {{ 11 * @typedef {{
12 * extractable: boolean, 12 * extractable: boolean,
13 * id: string, 13 * id: string,
14 * name: string, 14 * name: string,
15 * policy: boolean, 15 * policy: boolean,
16 * readonly: boolean, 16 * readonly: boolean,
17 * untrusted: boolean, 17 * untrusted: boolean,
18 * urlLocked: boolean
19 * }} 18 * }}
20 * @see chrome/browser/ui/webui/settings/certificates_handler.cc 19 * @see chrome/browser/ui/webui/settings/certificates_handler.cc
21 */ 20 */
22 var CertificateSubnode; 21 var CertificateSubnode;
23 22
24 /** 23 /**
25 * A data structure describing a certificate that is currently being imported, 24 * A data structure describing a certificate that is currently being imported,
26 * therefore it has no ID yet, but it has a name. Used within JS only. 25 * therefore it has no ID yet, but it has a name. Used within JS only.
27 * @typedef {{ 26 * @typedef {{
28 * name: string, 27 * name: string,
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 importServerCertificate: function() { 266 importServerCertificate: function() {
268 return cr.sendWithPromise('importServerCertificate'); 267 return cr.sendWithPromise('importServerCertificate');
269 }, 268 },
270 }; 269 };
271 270
272 return { 271 return {
273 CertificatesBrowserProxyImpl: CertificatesBrowserProxyImpl, 272 CertificatesBrowserProxyImpl: CertificatesBrowserProxyImpl,
274 CertificateType: CertificateType, 273 CertificateType: CertificateType,
275 }; 274 };
276 }); 275 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698