OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_RENDERER_JAVA_GIN_JAVA_FUNCTION_INVOCATION_HELPER_H_ | 5 #ifndef CONTENT_RENDERER_JAVA_GIN_JAVA_FUNCTION_INVOCATION_HELPER_H_ |
6 #define CONTENT_RENDERER_JAVA_GIN_JAVA_FUNCTION_INVOCATION_HELPER_H_ | 6 #define CONTENT_RENDERER_JAVA_GIN_JAVA_FUNCTION_INVOCATION_HELPER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 #include "content/renderer/java/gin_java_bridge_dispatcher.h" | 11 #include "content/renderer/java/gin_java_bridge_dispatcher.h" |
11 #include "gin/arguments.h" | 12 #include "gin/arguments.h" |
12 #include "gin/handle.h" | 13 #include "gin/handle.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 class GinJavaBridgeValueConverter; | 17 class GinJavaBridgeValueConverter; |
17 | 18 |
(...skipping 10 matching lines...) Expand all Loading... |
28 std::string method_name_; | 29 std::string method_name_; |
29 base::WeakPtr<GinJavaBridgeDispatcher> dispatcher_; | 30 base::WeakPtr<GinJavaBridgeDispatcher> dispatcher_; |
30 scoped_ptr<GinJavaBridgeValueConverter> converter_; | 31 scoped_ptr<GinJavaBridgeValueConverter> converter_; |
31 | 32 |
32 DISALLOW_COPY_AND_ASSIGN(GinJavaFunctionInvocationHelper); | 33 DISALLOW_COPY_AND_ASSIGN(GinJavaFunctionInvocationHelper); |
33 }; | 34 }; |
34 | 35 |
35 } // namespace content | 36 } // namespace content |
36 | 37 |
37 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_FUNCTION_INVOCATION_HELPER_H_ | 38 #endif // CONTENT_RENDERER_JAVA_GIN_JAVA_FUNCTION_INVOCATION_HELPER_H_ |
OLD | NEW |