OLD | NEW |
(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_RENDERER_EXTENSIONS_ENTERPRISE_CERTIFICATES_NATIVES_H_ |
| 6 #define CHROME_RENDERER_EXTENSIONS_ENTERPRISE_CERTIFICATES_NATIVES_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "chrome/renderer/extensions/object_backed_native_handler.h" |
| 10 |
| 11 namespace extensions { |
| 12 |
| 13 class ChromeV8Context; |
| 14 |
| 15 // Custom bindings for the enterprise.certificates API. |
| 16 class EnterpriseCertificatesNatives : public ObjectBackedNativeHandler { |
| 17 public: |
| 18 explicit EnterpriseCertificatesNatives(ChromeV8Context* context); |
| 19 |
| 20 private: |
| 21 void GetPrivateKey(const v8::FunctionCallbackInfo<v8::Value>& call_info); |
| 22 |
| 23 DISALLOW_COPY_AND_ASSIGN(EnterpriseCertificatesNatives); |
| 24 }; |
| 25 |
| 26 } // namespace extensions |
| 27 |
| 28 #endif // CHROME_RENDERER_EXTENSIONS_ENTERPRISE_CERTIFICATES_NATIVES_H_ |
OLD | NEW |