OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CERTIFICATE_PROVIDER_CERTIFICATE_PROVIDER_
API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_CERTIFICATE_PROVIDER_CERTIFICATE_PROVIDER_
API_H_ |
| 7 |
| 8 #include "chrome/browser/extensions/chrome_extension_function.h" |
| 9 |
| 10 namespace extensions { |
| 11 |
| 12 class CertificateProviderPublishClientCertificatesFunction |
| 13 : public ChromeUIThreadExtensionFunction { |
| 14 private: |
| 15 ~CertificateProviderPublishClientCertificatesFunction() override; |
| 16 ResponseAction Run() override; |
| 17 |
| 18 DECLARE_EXTENSION_FUNCTION("certificateProvider.publishClientCertificates", |
| 19 CERTIFICATEPROVIDER_PUBLISHCLIENTCERTIFICATES); |
| 20 }; |
| 21 |
| 22 class CertificateProviderReplyToSignRequestFunction |
| 23 : public ChromeUIThreadExtensionFunction { |
| 24 private: |
| 25 ~CertificateProviderReplyToSignRequestFunction() override; |
| 26 ResponseAction Run() override; |
| 27 |
| 28 DECLARE_EXTENSION_FUNCTION("certificateProvider.replyToSignRequest", |
| 29 CERTIFICATEPROVIDER_REPLYTOSIGNREQUEST); |
| 30 }; |
| 31 |
| 32 } // namespace extensions |
| 33 |
| 34 #endif // CHROME_BROWSER_EXTENSIONS_API_PLATFORM_KEYS_PLATFORM_KEYS_API_H_ |
OLD | NEW |