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

Side by Side Diff: content/browser/renderer_host/java/java_bridge_dispatcher_host.cc

Issue 8525016: Move Java Bridge files to new java/ subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 9 years, 1 month 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_bridge_dispatcher_host.h" 5 #include "content/browser/renderer_host/java/java_bridge_dispatcher_host.h"
6 6
7 #include "content/browser/renderer_host/browser_render_process_host.h" 7 #include "content/browser/renderer_host/browser_render_process_host.h"
8 #include "content/browser/renderer_host/java_bridge_channel_host.h" 8 #include "content/browser/renderer_host/java/java_bridge_channel_host.h"
9 #include "content/browser/renderer_host/render_view_host.h" 9 #include "content/browser/renderer_host/render_view_host.h"
10 #include "content/common/child_process.h" 10 #include "content/common/child_process.h"
11 #include "content/common/java_bridge_messages.h" 11 #include "content/common/java_bridge_messages.h"
12 #include "content/common/npobject_stub.h" 12 #include "content/common/npobject_stub.h"
13 #include "content/common/npobject_util.h" // For CreateNPVariantParam() 13 #include "content/common/npobject_util.h" // For CreateNPVariantParam()
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h"
16 16
17 using content::BrowserThread; 17 using content::BrowserThread;
18 18
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // The channel creates the channel handle based on the renderer ID we passed 83 // The channel creates the channel handle based on the renderer ID we passed
84 // to GetJavaBridgeChannelHost() and, on POSIX, the file descriptor used by 84 // to GetJavaBridgeChannelHost() and, on POSIX, the file descriptor used by
85 // the underlying channel. 85 // the underlying channel.
86 IPC::ChannelHandle channel_handle = channel_->channel_handle(); 86 IPC::ChannelHandle channel_handle = channel_->channel_handle();
87 87
88 bool sent = render_view_host_->Send(new JavaBridgeMsg_Init( 88 bool sent = render_view_host_->Send(new JavaBridgeMsg_Init(
89 render_view_host_->routing_id(), channel_handle)); 89 render_view_host_->routing_id(), channel_handle));
90 DCHECK(sent); 90 DCHECK(sent);
91 } 91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698