| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |