OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_RENDERER_HOST_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_ANDROID_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/android/jni_weak_ref.h" | 11 #include "base/android/jni_weak_ref.h" |
12 #include "base/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "content/browser/renderer_host/java/gin_java_bound_object.h" | 15 #include "content/browser/android/java/gin_java_bound_object.h" |
16 #include "content/browser/renderer_host/java/gin_java_method_invocation_helper.h
" | 16 #include "content/browser/android/java/gin_java_method_invocation_helper.h" |
17 #include "content/public/browser/web_contents_observer.h" | 17 #include "content/public/browser/web_contents_observer.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class ListValue; | 20 class ListValue; |
21 } | 21 } |
22 | 22 |
23 namespace IPC { | 23 namespace IPC { |
24 class Message; | 24 class Message; |
25 } | 25 } |
26 | 26 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 RendererSet renderers_; | 113 RendererSet renderers_; |
114 GinJavaBoundObject::ObjectMap objects_; | 114 GinJavaBoundObject::ObjectMap objects_; |
115 typedef std::map<std::string, GinJavaBoundObject::ObjectID> NamedObjectMap; | 115 typedef std::map<std::string, GinJavaBoundObject::ObjectID> NamedObjectMap; |
116 NamedObjectMap named_objects_; | 116 NamedObjectMap named_objects_; |
117 | 117 |
118 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeDispatcherHost); | 118 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeDispatcherHost); |
119 }; | 119 }; |
120 | 120 |
121 } // namespace content | 121 } // namespace content |
122 | 122 |
123 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 123 #endif // CONTENT_BROWSER_ANDROID_JAVA_GIN_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
OLD | NEW |