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

Unified Diff: chrome/common/extensions/api/platform_keys_internal.idl

Issue 875373002: First implementation of chrome.platformKeys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert_idl
Patch Set: Fix .gn file. Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/platform_keys_internal.idl
diff --git a/chrome/common/extensions/api/platform_keys_internal.idl b/chrome/common/extensions/api/platform_keys_internal.idl
index afd68e51a818282fed0699dbae7e3351ffa11d44..0e2d827c125a628748b6d01557ea71738d12c25d 100644
--- a/chrome/common/extensions/api/platform_keys_internal.idl
+++ b/chrome/common/extensions/api/platform_keys_internal.idl
@@ -6,11 +6,18 @@
// APIs.
[ implemented_in = "chrome/browser/extensions/api/platform_keys/platform_keys_api.h" ]
namespace platformKeysInternal {
+ callback SelectCallback = void (platformKeys.Match[] certs);
+
// Invoked by <code>sign</code>.
// |signature| The signature, a octet string.
callback SignCallback = void(ArrayBuffer signature);
interface Functions {
+ // See documentation in platformKeys.
+ static void selectClientCertificates(
+ platformKeys.SelectDetails details,
+ SelectCallback callback);
+
// Internal version of platformKeys.subtleCrypto.sign and
// enterprise.platformKeys.Token.subtleCrypto.sign.
// |tokenId| The id of a Token returned by |getTokens|.
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698