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

Side by Side Diff: chrome/common/extensions/api/enterprise_certificates.idl

Issue 214863002: Extension API enterprise.platformKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed to OO-style API with Token object. Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // API for certificate management.
6 [nodoc=true, platforms=("chromeos")]
7 namespace enterprise.certificates {
8 callback DoneCallback = void ();
9 callback GetClientCertificatesCallback = void(ArrayBuffer[] certificates);
10 callback GetTokensCallback =
11 void (Token[] certificates);
12
13 [noinline_doc] dictionary Token {
14 DOMString name;
15 static void importClientCertificate([instanceOf = Key] object key,
16 ArrayBuffer certificate,
17 optional DoneCallback callback);
18 static void getClientCertificates(GetClientCertificatesCallback callback);
19 };
20
21 interface Functions {
22 [nocompile] static void getTokens(GetTokensCallback callback);
23 };
24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698