| Index: chrome/common/extensions/api/enterprise_certificates_internal.idl
|
| diff --git a/chrome/common/extensions/api/enterprise_certificates_internal.idl b/chrome/common/extensions/api/enterprise_certificates_internal.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..748c17e41a870b22af00131d4a594d7412b75a8e
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/api/enterprise_certificates_internal.idl
|
| @@ -0,0 +1,25 @@
|
| +// 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.
|
| +
|
| +// API for certificate management.
|
| +[nodoc=true, platforms=("chromeos"),
|
| + implemented_in="chrome/browser/extensions/api/enterprise_certificates/enterprise_certificates_internal_api.h"]
|
| +namespace enterprise.certificatesInternal {
|
| + enum TokenType {
|
| + // Refers to the token of the user.
|
| + user,
|
| + // Refers to the token of the device, which is available in all sessions.
|
| + device
|
| + };
|
| +
|
| + callback DoneCallback = void ();
|
| + interface Functions {
|
| + static void importClientCertificate(
|
| + ArrayBuffer key,
|
| + ArrayBuffer certificate,
|
| + TokenType token,
|
| + optional DoneCallback callback);
|
| + };
|
| +};
|
| +
|
|
|