1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/extensions/chrome_extension_function_details.h"
13 #include "chrome/common/extensions/api/cryptotoken_private.h"
14 #include "extensions/browser/extension_function.h"
16 // Implementations for chrome.cryptotokenPrivate API functions.
18 namespace extensions
{
21 class CryptotokenPrivateCanOriginAssertAppIdFunction
22 : public UIThreadExtensionFunction
{
24 CryptotokenPrivateCanOriginAssertAppIdFunction();
25 DECLARE_EXTENSION_FUNCTION("cryptotokenPrivate.canOriginAssertAppId",
26 CRYPTOTOKENPRIVATE_CANORIGINASSERTAPPID
)
28 ~CryptotokenPrivateCanOriginAssertAppIdFunction() override
{}
29 ResponseAction
Run() override
;
32 ChromeExtensionFunctionDetails chrome_details_
;
36 } // namespace extensions
38 #endif // CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_