| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_JS_UTIL_H_ | 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_API_BINDING_JS_UTIL_H_ |
| 6 #define EXTENSIONS_RENDERER_API_BINDING_JS_UTIL_H_ | 6 #define EXTENSIONS_RENDERER_BINDINGS_API_BINDING_JS_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "extensions/renderer/api_binding_types.h" | 11 #include "extensions/renderer/bindings/api_binding_types.h" |
| 12 #include "gin/wrappable.h" | 12 #include "gin/wrappable.h" |
| 13 #include "v8/include/v8.h" | 13 #include "v8/include/v8.h" |
| 14 | 14 |
| 15 namespace gin { | 15 namespace gin { |
| 16 class Arguments; | 16 class Arguments; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace extensions { | 19 namespace extensions { |
| 20 class APIEventHandler; | 20 class APIEventHandler; |
| 21 class APIRequestHandler; | 21 class APIRequestHandler; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // The event handler. Guaranteed to outlive this object. | 98 // The event handler. Guaranteed to outlive this object. |
| 99 APIEventHandler* event_handler_; | 99 APIEventHandler* event_handler_; |
| 100 | 100 |
| 101 binding::RunJSFunction run_js_; | 101 binding::RunJSFunction run_js_; |
| 102 | 102 |
| 103 DISALLOW_COPY_AND_ASSIGN(APIBindingJSUtil); | 103 DISALLOW_COPY_AND_ASSIGN(APIBindingJSUtil); |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace extensions | 106 } // namespace extensions |
| 107 | 107 |
| 108 #endif // EXTENSIONS_RENDERER_API_BINDING_JS_UTIL_H_ | 108 #endif // EXTENSIONS_RENDERER_BINDINGS_API_BINDING_JS_UTIL_H_ |
| OLD | NEW |