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

Side by Side Diff: extensions/renderer/native_extension_bindings_system.h

Issue 2947463002: [Extensions Bindings] Add a bindings/ subdirectory under renderer (Closed)
Patch Set: . Created 3 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_RENDERER_NATIVE_EXTENSION_BINDINGS_SYSTEM_H_ 5 #ifndef EXTENSIONS_RENDERER_NATIVE_EXTENSION_BINDINGS_SYSTEM_H_
6 #define EXTENSIONS_RENDERER_NATIVE_EXTENSION_BINDINGS_SYSTEM_H_ 6 #define EXTENSIONS_RENDERER_NATIVE_EXTENSION_BINDINGS_SYSTEM_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "extensions/renderer/api_binding_types.h" 13 #include "extensions/renderer/bindings/api_binding_types.h"
14 #include "extensions/renderer/api_bindings_system.h" 14 #include "extensions/renderer/bindings/api_bindings_system.h"
15 #include "extensions/renderer/event_emitter.h" 15 #include "extensions/renderer/bindings/event_emitter.h"
16 #include "extensions/renderer/extension_bindings_system.h" 16 #include "extensions/renderer/extension_bindings_system.h"
17 #include "v8/include/v8.h" 17 #include "v8/include/v8.h"
18 18
19 struct ExtensionHostMsg_Request_Params; 19 struct ExtensionHostMsg_Request_Params;
20 20
21 namespace extensions { 21 namespace extensions {
22 class ScriptContext; 22 class ScriptContext;
23 23
24 // The implementation of the Bindings System for extensions code with native 24 // The implementation of the Bindings System for extensions code with native
25 // implementations (rather than JS hooks). Handles permission/availability 25 // implementations (rather than JS hooks). Handles permission/availability
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 v8::Eternal<v8::FunctionTemplate> get_internal_api_; 112 v8::Eternal<v8::FunctionTemplate> get_internal_api_;
113 113
114 base::WeakPtrFactory<NativeExtensionBindingsSystem> weak_factory_; 114 base::WeakPtrFactory<NativeExtensionBindingsSystem> weak_factory_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(NativeExtensionBindingsSystem); 116 DISALLOW_COPY_AND_ASSIGN(NativeExtensionBindingsSystem);
117 }; 117 };
118 118
119 } // namespace extensions 119 } // namespace extensions
120 120
121 #endif // EXTENSIONS_RENDERER_NATIVE_EXTENSION_BINDINGS_SYSTEM_H_ 121 #endif // EXTENSIONS_RENDERER_NATIVE_EXTENSION_BINDINGS_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/renderer/event_emitter_unittest.cc ('k') | extensions/renderer/native_extension_bindings_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698