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

Side by Side 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: Changed to OO-style API with Token object. 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_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 #include "chrome/renderer/extensions/request_sender.h"
11
12 namespace extensions {
13
14 class ChromeV8Context;
15 class RequestSender;
16
17 // Custom bindings for the enterprise.certificates API.
18 class EnterpriseCertificatesNatives : public ObjectBackedNativeHandler {
19 public:
20 explicit EnterpriseCertificatesNatives(RequestSender* request_sender,
21 ChromeV8Context* context);
22
23 private:
24 void ImportNative(const v8::FunctionCallbackInfo<v8::Value>& call_info);
25
26 RequestSender* request_sender_;
27
28 DISALLOW_COPY_AND_ASSIGN(EnterpriseCertificatesNatives);
29 };
30
31 } // namespace extensions
32
33 #endif // CHROME_RENDERER_EXTENSIONS_ENTERPRISE_CERTIFICATES_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698