From 26c155cd58075a31a194759e0c35d0dd44fa26ce Mon Sep 17 00:00:00 2001 From: "pneubeck@chromium.org" Date: Fri, 23 May 2014 22:14:23 +0000 Subject: Extension API enterprise.platformKeys. First version that implements all proposed functions backed by the TPM; enabled on dev-channel only. This is still missing several features: - Reusing algorithm normalization of WebCrypto. - Allow calling Sign() at most once per key. - Storing which extension imported a certificate. - Device-wide token. - Passing publicExponent to generateKey. - Throwing DOMExceptions instead of Errors. - ... BUG=364435 Review URL: https://codereview.chromium.org/214863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272613 0039d316-1c4b-4281-b951-d872f2087c98 --- extensions/browser/extension_function_histogram_value.h | 6 ++++++ extensions/common/permissions/api_permission.h | 1 + 2 files changed, 7 insertions(+) (limited to 'extensions') diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h index 58fee8b..95b8b75 100644 --- a/extensions/browser/extension_function_histogram_value.h +++ b/extensions/browser/extension_function_histogram_value.h @@ -834,6 +834,12 @@ enum HistogramValue { FILESYSTEMPROVIDERINTERNAL_READFILEREQUESTEDERROR, NETWORKINGPRIVATE_GETNETWORKS, WEBVIEW_SETNAME, + ENTERPRISE_PLATFORMKEYSINTERNAL_GENERATEKEY, + ENTERPRISE_PLATFORMKEYSINTERNAL_SIGN, + ENTERPRISE_PLATFORMKEYSINTERNAL_GETTOKENS, + ENTERPRISE_PLATFORMKEYS_GETCERTIFICATES, + ENTERPRISE_PLATFORMKEYS_IMPORTCERTIFICATE, + ENTERPRISE_PLATFORMKEYS_REMOVECERTIFICATE, // Last entry: Add new entries above and ensure to update // tools/metrics/histograms/histograms/histograms.xml. ENUM_BOUNDARY diff --git a/extensions/common/permissions/api_permission.h b/extensions/common/permissions/api_permission.h index b38a057..ab9e72a 100644 --- a/extensions/common/permissions/api_permission.h +++ b/extensions/common/permissions/api_permission.h @@ -78,6 +78,7 @@ class APIPermission { kDownloadsOpen, kDownloadsShelf, kEchoPrivate, + kEnterprisePlatformKeys, kEnterprisePlatformKeysPrivate, kExperimental, kFeedbackPrivate, -- cgit v1.1