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_ANDROID_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_ANDROID_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/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "content/child/npapi/npobject_stub.h" | 12 #include "content/child/npapi/npobject_stub.h" |
13 | 13 |
14 class RouteIDGenerator; | 14 class RouteIDGenerator; |
15 struct NPObject; | 15 struct NPObject; |
16 | 16 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 scoped_refptr<NPChannelBase> channel_; | 62 scoped_refptr<NPChannelBase> channel_; |
63 RenderFrameHost* render_frame_host_; | 63 RenderFrameHost* render_frame_host_; |
64 std::vector<base::WeakPtr<NPObjectStub> > stubs_; | 64 std::vector<base::WeakPtr<NPObjectStub> > stubs_; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHost); | 66 DISALLOW_COPY_AND_ASSIGN(JavaBridgeDispatcherHost); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace content | 69 } // namespace content |
70 | 70 |
71 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ | 71 #endif // CONTENT_BROWSER_ANDROID_JAVA_JAVA_BRIDGE_DISPATCHER_HOST_H_ |
OLD | NEW |