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

Unified Diff: chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h

Issue 430563002: Enable system token in platformKeys api. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/enterprise_platform_keys/enterprise_platform_keys_api.h
diff --git a/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h b/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h
index 4cfd43f3440c4c317c2000d0744d4c50e0806949..dd3bf39c931648d929bd5c492d4630c2fefd7446 100644
--- a/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h
+++ b/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h
@@ -98,6 +98,11 @@ class EnterprisePlatformKeysInternalGetTokensFunction
virtual ~EnterprisePlatformKeysInternalGetTokensFunction();
virtual ResponseAction Run() OVERRIDE;
+ // Called when the list of tokens was determined. If an error occurred,
+ // |token_ids| will be NULL and instead |error_message| be set.
+ void OnGotTokens(scoped_ptr<std::vector<std::string> > token_ids,
+ const std::string& error_message);
+
DECLARE_EXTENSION_FUNCTION("enterprise.platformKeysInternal.getTokens",
ENTERPRISE_PLATFORMKEYSINTERNAL_GETTOKENS);
};

Powered by Google App Engine
This is Rietveld 408576698