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

Side by Side Diff: chrome/common/child_thread.cc

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove host_render_view_id Created 9 years, 10 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/common/child_thread.h" 5 #include "chrome/common/child_thread.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "chrome/common/child_process.h" 10 #include "chrome/common/child_process.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 router_.RemoveRoute(routing_id); 113 router_.RemoveRoute(routing_id);
114 } 114 }
115 115
116 IPC::Channel::Listener* ChildThread::ResolveRoute(int32 routing_id) { 116 IPC::Channel::Listener* ChildThread::ResolveRoute(int32 routing_id) {
117 DCHECK(MessageLoop::current() == message_loop()); 117 DCHECK(MessageLoop::current() == message_loop());
118 118
119 return router_.ResolveRoute(routing_id); 119 return router_.ResolveRoute(routing_id);
120 } 120 }
121 121
122 webkit_glue::ResourceLoaderBridge* ChildThread::CreateBridge( 122 webkit_glue::ResourceLoaderBridge* ChildThread::CreateBridge(
123 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info, 123 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) {
124 int host_renderer_id, 124 return resource_dispatcher()->CreateBridge(request_info);
125 int host_render_view_id) {
126 return resource_dispatcher()->
127 CreateBridge(request_info, host_renderer_id, host_render_view_id);
128 } 125 }
129 126
130 ResourceDispatcher* ChildThread::resource_dispatcher() { 127 ResourceDispatcher* ChildThread::resource_dispatcher() {
131 return resource_dispatcher_.get(); 128 return resource_dispatcher_.get();
132 } 129 }
133 130
134 IPC::SyncMessageFilter* ChildThread::sync_message_filter() { 131 IPC::SyncMessageFilter* ChildThread::sync_message_filter() {
135 return sync_message_filter_; 132 return sync_message_filter_;
136 } 133 }
137 134
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 MessageLoop::current()->Quit(); 195 MessageLoop::current()->Quit();
199 return; 196 return;
200 } 197 }
201 198
202 // The child process shutdown sequence is a request response based mechanism, 199 // The child process shutdown sequence is a request response based mechanism,
203 // where we send out an initial feeler request to the child process host 200 // where we send out an initial feeler request to the child process host
204 // instance in the browser to verify if it's ok to shutdown the child process. 201 // instance in the browser to verify if it's ok to shutdown the child process.
205 // The browser then sends back a response if it's ok to shutdown. 202 // The browser then sends back a response if it's ok to shutdown.
206 Send(new PluginProcessHostMsg_ShutdownRequest); 203 Send(new PluginProcessHostMsg_ShutdownRequest);
207 } 204 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698