OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/browser/renderer_host/java/java_bridge_channel_host.h" | 5 #include "content/browser/android/java/java_bridge_channel_host.h" |
6 | 6 |
7 #include "base/atomicops.h" | 7 #include "base/atomicops.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "base/synchronization/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
11 #include "content/common/java_bridge_messages.h" | 11 #include "content/common/java_bridge_messages.h" |
12 | 12 |
13 using base::WaitableEvent; | 13 using base::WaitableEvent; |
14 | 14 |
15 namespace content { | 15 namespace content { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 IPC_MESSAGE_HANDLER(JavaBridgeMsg_GenerateRouteID, OnGenerateRouteID) | 86 IPC_MESSAGE_HANDLER(JavaBridgeMsg_GenerateRouteID, OnGenerateRouteID) |
87 IPC_END_MESSAGE_MAP() | 87 IPC_END_MESSAGE_MAP() |
88 return handled; | 88 return handled; |
89 } | 89 } |
90 | 90 |
91 void JavaBridgeChannelHost::OnGenerateRouteID(int* route_id) { | 91 void JavaBridgeChannelHost::OnGenerateRouteID(int* route_id) { |
92 *route_id = GenerateRouteID(); | 92 *route_id = GenerateRouteID(); |
93 } | 93 } |
94 | 94 |
95 } // namespace content | 95 } // namespace content |
OLD | NEW |