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

Unified Diff: chrome/browser/extensions/api/platform_keys/platform_keys_api.h

Issue 927883002: Implement chrome.platformKeys.getKeyPair(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/extensions/api/platform_keys/platform_keys_api.h
diff --git a/chrome/browser/extensions/api/platform_keys/platform_keys_api.h b/chrome/browser/extensions/api/platform_keys/platform_keys_api.h
index a423e9df5cb59ff0282a7fa70c02cd9d24d0eb19..7a4b9ea7b9c16486317d1089d5a3cfbc2d1f70c9 100644
--- a/chrome/browser/extensions/api/platform_keys/platform_keys_api.h
+++ b/chrome/browser/extensions/api/platform_keys/platform_keys_api.h
@@ -46,6 +46,16 @@ class PlatformKeysInternalSelectClientCertificatesFunction
PLATFORMKEYSINTERNAL_SELECTCLIENTCERTIFICATES);
};
+class PlatformKeysInternalGetPublicKeyFunction
+ : public ChromeUIThreadExtensionFunction {
+ private:
+ ~PlatformKeysInternalGetPublicKeyFunction() override;
+ ResponseAction Run() override;
+
+ DECLARE_EXTENSION_FUNCTION("platformKeysInternal.getPublicKey",
+ PLATFORMKEYSINTERNAL_GETPUBLICKEY);
+};
+
class PlatformKeysInternalSignFunction
: public ChromeUIThreadExtensionFunction {
private:

Powered by Google App Engine
This is Rietveld 408576698