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

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

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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
« no previous file with comments | « content/common/child_thread.h ('k') | content/common/resource_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/common/child_thread.h" 5 #include "content/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 "content/common/child_process.h" 10 #include "content/common/child_process.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 router_.RemoveRoute(routing_id); 112 router_.RemoveRoute(routing_id);
113 } 113 }
114 114
115 IPC::Channel::Listener* ChildThread::ResolveRoute(int32 routing_id) { 115 IPC::Channel::Listener* ChildThread::ResolveRoute(int32 routing_id) {
116 DCHECK(MessageLoop::current() == message_loop()); 116 DCHECK(MessageLoop::current() == message_loop());
117 117
118 return router_.ResolveRoute(routing_id); 118 return router_.ResolveRoute(routing_id);
119 } 119 }
120 120
121 webkit_glue::ResourceLoaderBridge* ChildThread::CreateBridge( 121 webkit_glue::ResourceLoaderBridge* ChildThread::CreateBridge(
122 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info, 122 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) {
123 int host_renderer_id, 123 return resource_dispatcher()->CreateBridge(request_info);
124 int host_render_view_id) {
125 return resource_dispatcher()->
126 CreateBridge(request_info, host_renderer_id, host_render_view_id);
127 } 124 }
128 125
129 ResourceDispatcher* ChildThread::resource_dispatcher() { 126 ResourceDispatcher* ChildThread::resource_dispatcher() {
130 return resource_dispatcher_.get(); 127 return resource_dispatcher_.get();
131 } 128 }
132 129
133 IPC::SyncMessageFilter* ChildThread::sync_message_filter() { 130 IPC::SyncMessageFilter* ChildThread::sync_message_filter() {
134 return sync_message_filter_; 131 return sync_message_filter_;
135 } 132 }
136 133
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 MessageLoop::current()->Quit(); 194 MessageLoop::current()->Quit();
198 return; 195 return;
199 } 196 }
200 197
201 // The child process shutdown sequence is a request response based mechanism, 198 // The child process shutdown sequence is a request response based mechanism,
202 // where we send out an initial feeler request to the child process host 199 // where we send out an initial feeler request to the child process host
203 // instance in the browser to verify if it's ok to shutdown the child process. 200 // instance in the browser to verify if it's ok to shutdown the child process.
204 // The browser then sends back a response if it's ok to shutdown. 201 // The browser then sends back a response if it's ok to shutdown.
205 Send(new ChildProcessHostMsg_ShutdownRequest); 202 Send(new ChildProcessHostMsg_ShutdownRequest);
206 } 203 }
OLDNEW
« no previous file with comments | « content/common/child_thread.h ('k') | content/common/resource_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698