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

Side by Side Diff: extensions/renderer/bindings/api_binding.h

Issue 2947463002: [Extensions Bindings] Add a bindings/ subdirectory under renderer (Closed)
Patch Set: . Created 3 years, 6 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
« no previous file with comments | « extensions/renderer/bindings/OWNERS ('k') | extensions/renderer/bindings/api_binding.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_API_BINDING_H_ 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_API_BINDING_H_
6 #define EXTENSIONS_RENDERER_API_BINDING_H_ 6 #define EXTENSIONS_RENDERER_BINDINGS_API_BINDING_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/supports_user_data.h" 15 #include "base/supports_user_data.h"
16 #include "extensions/renderer/argument_spec.h" 16 #include "extensions/renderer/bindings/argument_spec.h"
17 #include "v8/include/v8.h" 17 #include "v8/include/v8.h"
18 18
19 namespace base { 19 namespace base {
20 class ListValue; 20 class ListValue;
21 } 21 }
22 22
23 namespace gin { 23 namespace gin {
24 class Arguments; 24 class Arguments;
25 } 25 }
26 26
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // unavailable are removed after object instantiation. 153 // unavailable are removed after object instantiation.
154 v8::Eternal<v8::ObjectTemplate> object_template_; 154 v8::Eternal<v8::ObjectTemplate> object_template_;
155 155
156 base::WeakPtrFactory<APIBinding> weak_factory_; 156 base::WeakPtrFactory<APIBinding> weak_factory_;
157 157
158 DISALLOW_COPY_AND_ASSIGN(APIBinding); 158 DISALLOW_COPY_AND_ASSIGN(APIBinding);
159 }; 159 };
160 160
161 } // namespace extensions 161 } // namespace extensions
162 162
163 #endif // EXTENSIONS_RENDERER_API_BINDING_H_ 163 #endif // EXTENSIONS_RENDERER_BINDINGS_API_BINDING_H_
OLDNEW
« no previous file with comments | « extensions/renderer/bindings/OWNERS ('k') | extensions/renderer/bindings/api_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698