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

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

Issue 1863733003: MD Settings: Certificate manager, implement importing CA certificate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove hasOwnProperty. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/certificate_manager_page/certificates_browser_proxy.js
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificates_browser_proxy.js b/chrome/browser/resources/settings/certificate_manager_page/certificates_browser_proxy.js
index 3554426397b902af97d6bd28381849fe580db3c2..d683375bc1b5f25b0351dbabf129265862b8913a 100644
--- a/chrome/browser/resources/settings/certificate_manager_page/certificates_browser_proxy.js
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificates_browser_proxy.js
@@ -22,6 +22,15 @@
var CertificateSubnode;
/**
+ * A data structure describing a certificate that is currently being imported,
+ * therefore it has no ID yet, but it has a name. Used within JS only.
+ * @typedef {{
+ * name: string,
+ * }}
+ */
+var NewCertificateSubNode;
+
+/**
* @typedef {{
* id: string,
* name: string,
@@ -57,7 +66,7 @@ var CertificatesError;
* @typedef {{
* title: string,
* description: string
- * certificateErrors: !Array<{certificateName: string, error: string}>
+ * certificateErrors: !Array<{name: string, error: string}>
* }}
* @see chrome/browser/ui/webui/settings/certificates_handler.cc
*/

Powered by Google App Engine
This is Rietveld 408576698