Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Side by Side Diff: content/browser/android/java/java_bridge_channel_host.cc

Issue 336313018: [Android] Move content/browser/{renderer_host => android}/java/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated paths for unit tests, rebased Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/browser/android/java/java_bridge_channel_host.h ('k') | content/browser/android/java/java_bridge_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698