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

Side by Side Diff: chrome/browser/extensions/api/enterprise_certificates/enterprise_certificates_internal_api.h

Issue 214863002: Extension API enterprise.platformKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Allow import of non-extractable keys. Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_CERTIFICATES_ENTERPRISE_CERTIFI CATES_INTERNAL_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_CERTIFICATES_ENTERPRISE_CERTIFI CATES_INTERNAL_API_H_
7
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/extensions/chrome_extension_function.h"
10 #include "chrome/common/extensions/api/enterprise_certificates_internal.h"
11
12 namespace net {
13 class NSSCertDatabase;
14 }
15
16 namespace extensions {
17
18 class ECIImport : public ChromeAsyncExtensionFunction {
19 protected:
20 virtual bool RunImpl() OVERRIDE;
21
22 private:
23 void DidGetCertDB(net::NSSCertDatabase* cert_db);
24
25 DECLARE_EXTENSION_FUNCTION(
26 "enterprise.certificatesInternal.importClientCertificate",
27 ENTERPRISE_CERTIFICATESINTERNAL_IMPORTCLIENTCERTIFICATE);
28 };
29
30 typedef ECIImport EnterpriseCertificatesInternalImportClientCertificateFunction;
31
32 } // namespace extensions
33
34 #endif // CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_CERTIFICATES_ENTERPRISE_CERT IFICATES_INTERNAL_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698