Index: chrome/browser/resources/cryptotoken/individualattest.js |
diff --git a/chrome/browser/resources/cryptotoken/individualattest.js b/chrome/browser/resources/cryptotoken/individualattest.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ed6ea9171a74f6d45fcfa42762bdc16348a438b0 |
--- /dev/null |
+++ b/chrome/browser/resources/cryptotoken/individualattest.js |
@@ -0,0 +1,24 @@ |
+// Copyright 2014 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 Provides an interface to determine whether to request the |
+ * individual attestation certificate during enrollment. |
+ */ |
+'use strict'; |
+ |
+/** |
+ * Interface to determine whether to request the individual attestation |
+ * certificate during enrollment. |
+ * @interface |
+ */ |
+function IndividualAttestation() {} |
+ |
+/** |
+ * @param {string} appIdHash The app id hash. |
+ * @return {boolean} Whether to request the individual attestation certificate |
+ * for this app id. |
+ */ |
+IndividualAttestation.prototype.requestIndividualAttestation = |
+ function(appIdHash) {}; |