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

Side by Side Diff: chrome/browser/extensions/api/certificate_provider/certificate_provider_api.h

Issue 1232553003: Add new certificateProvider extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698