OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "content/child/npobject_stub.h" | 12 #include "content/child/npobject_stub.h" |
13 #include "content/public/browser/render_view_host_observer.h" | 13 #include "content/public/browser/render_view_host_observer.h" |
14 | 14 |
15 class RouteIDGenerator; | 15 class RouteIDGenerator; |
16 struct NPObject; | 16 struct NPObject; |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 class NPChannelBase; | 19 class NPChannelBase; |
20 class RenderViewHost; | 20 class RenderViewHost; |
21 struct NPVariant_Param; | 21 struct NPVariant_Param; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 scoped_refptr<NPChannelBase> channel_; | 66 scoped_refptr<NPChannelBase> channel_; |
67 bool is_renderer_initialized_; | 67 bool is_renderer_initialized_; |
68 std::vector<base::WeakPtr<NPObjectStub> > stubs_; | 68 std::vector<base::WeakPtr<NPObjectStub> > stubs_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHost); | 70 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHost); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace content | 73 } // namespace content |
74 | 74 |
75 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 75 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
OLD | NEW |