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

Unified Diff: chrome/renderer/extensions/enterprise_certificates_natives.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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/enterprise_certificates_natives.h
diff --git a/chrome/renderer/extensions/enterprise_certificates_natives.h b/chrome/renderer/extensions/enterprise_certificates_natives.h
new file mode 100644
index 0000000000000000000000000000000000000000..3330dd62322d4dd816b4b6eb50661c4d0edc5456
--- /dev/null
+++ b/chrome/renderer/extensions/enterprise_certificates_natives.h
@@ -0,0 +1,28 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_RENDERER_EXTENSIONS_ENTERPRISE_CERTIFICATES_NATIVES_H_
+#define CHROME_RENDERER_EXTENSIONS_ENTERPRISE_CERTIFICATES_NATIVES_H_
+
+#include "base/compiler_specific.h"
+#include "chrome/renderer/extensions/object_backed_native_handler.h"
+
+namespace extensions {
+
+class ChromeV8Context;
+
+// Custom bindings for the enterprise.certificates API.
+class EnterpriseCertificatesNatives : public ObjectBackedNativeHandler {
+ public:
+ explicit EnterpriseCertificatesNatives(ChromeV8Context* context);
+
+ private:
+ void GetPrivateKey(const v8::FunctionCallbackInfo<v8::Value>& call_info);
+
+ DISALLOW_COPY_AND_ASSIGN(EnterpriseCertificatesNatives);
+};
+
+} // namespace extensions
+
+#endif // CHROME_RENDERER_EXTENSIONS_ENTERPRISE_CERTIFICATES_NATIVES_H_

Powered by Google App Engine
This is Rietveld 408576698