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

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

Issue 1848103005: [Extensions] Remove the "use_movable_types" entry from idl/json files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Internal API for to implement the platformKeys and enterprise.platformKeys 5 // Internal API for to implement the platformKeys and enterprise.platformKeys
6 // APIs. 6 // APIs.
7 [implemented_in = "chrome/browser/extensions/api/platform_keys/platform_keys_api .h", 7 [implemented_in = "chrome/browser/extensions/api/platform_keys/platform_keys_api .h"]
8 use_movable_types=true]
9 namespace platformKeysInternal { 8 namespace platformKeysInternal {
10 callback SelectCallback = void (platformKeys.Match[] certs); 9 callback SelectCallback = void (platformKeys.Match[] certs);
11 10
12 // Invoked by <code>sign</code>. 11 // Invoked by <code>sign</code>.
13 // |signature| The signature, a octet string. 12 // |signature| The signature, a octet string.
14 callback SignCallback = void(ArrayBuffer signature); 13 callback SignCallback = void(ArrayBuffer signature);
15 14
16 // Called back by <code>getPublicKey</code>. 15 // Called back by <code>getPublicKey</code>.
17 // |publicKey| The Subject Public Key Info (see X.509) of the requested 16 // |publicKey| The Subject Public Key Info (see X.509) of the requested
18 // certificate. 17 // certificate.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // of the WebCrypto algorithm <code>algorithmName</code>. If so, calls back 52 // of the WebCrypto algorithm <code>algorithmName</code>. If so, calls back
54 // <code>callback</code> with the key info and a WebCrypto 53 // <code>callback</code> with the key info and a WebCrypto
55 // <code>KeyAlgorithm</code> dictionary describing the key's algorithm. The 54 // <code>KeyAlgorithm</code> dictionary describing the key's algorithm. The
56 // <code>name</code> property will equal <code>algorithmName</code>. 55 // <code>name</code> property will equal <code>algorithmName</code>.
57 // Otherwise, calls back with an error. 56 // Otherwise, calls back with an error.
58 static void getPublicKey(ArrayBuffer certificate, 57 static void getPublicKey(ArrayBuffer certificate,
59 DOMString algorithmName, 58 DOMString algorithmName,
60 GetPublicKeyCallback callback); 59 GetPublicKeyCallback callback);
61 }; 60 };
62 }; 61 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698