| 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_CHANNEL_HOST_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_ | 6 #define CONTENT_BROWSER_ANDROID_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_ |
| 7 | 7 |
| 8 #include "content/child/npapi/np_channel_base.h" | 8 #include "content/child/npapi/np_channel_base.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 class JavaBridgeChannelHost : public NPChannelBase { | 12 class JavaBridgeChannelHost : public NPChannelBase { |
| 13 public: | 13 public: |
| 14 static JavaBridgeChannelHost* GetJavaBridgeChannelHost( | 14 static JavaBridgeChannelHost* GetJavaBridgeChannelHost( |
| 15 int renderer_id, | 15 int renderer_id, |
| 16 base::MessageLoopProxy* ipc_message_loop); | 16 base::MessageLoopProxy* ipc_message_loop); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 42 } | 42 } |
| 43 | 43 |
| 44 // Message handlers | 44 // Message handlers |
| 45 void OnGenerateRouteID(int* route_id); | 45 void OnGenerateRouteID(int* route_id); |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(JavaBridgeChannelHost); | 47 DISALLOW_COPY_AND_ASSIGN(JavaBridgeChannelHost); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace content | 50 } // namespace content |
| 51 | 51 |
| 52 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_ | 52 #endif // CONTENT_BROWSER_ANDROID_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_ |
| OLD | NEW |