Index: chrome/browser/resources/settings/certificate_manager_page/certificate_manager_types.js |
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_manager_types.js b/chrome/browser/resources/settings/certificate_manager_page/certificate_manager_types.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..44c397c5a18d174a0ebe71e398974cc2d72f689a |
--- /dev/null |
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_manager_types.js |
@@ -0,0 +1,29 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+/** |
+ * @fileoverview Closure compiler typedefs. |
+ */ |
+ |
+/** |
+ * The payload of the certificate-action event that is emitted from this |
+ * component. |
+ * @typedef {{ |
+ * action: !CertificateAction, |
+ * subnode: (null|CertificateSubnode|NewCertificateSubNode), |
+ * certificateType: !CertificateType |
+ * }} |
+ */ |
+var CertificateActionEventDetail; |
+ |
+/** |
+ * Enumeration of actions that require a popup menu to be shown to the user. |
+ * @enum {number} |
+ */ |
+var CertificateAction = { |
+ DELETE: 0, |
+ EDIT: 1, |
+ EXPORT_PERSONAL: 2, |
+ IMPORT: 3, |
+}; |