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

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

Issue 6612040: Move ChildProcessHost and ChildProcessInfo to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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_process_host.h ('k') | content/common/child_process_info.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) 2010 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 "chrome/common/child_process_host.h" 5 #include "content/common/child_process_host.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 11 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
12 #include "chrome/common/child_process_info.h" 12 #include "content/common/child_process_info.h"
13 #include "content/common/child_process_messages.h" 13 #include "content/common/child_process_messages.h"
14 #include "content/common/content_paths.h" 14 #include "content/common/content_paths.h"
15 #include "content/common/content_switches.h" 15 #include "content/common/content_switches.h"
16 #include "ipc/ipc_logging.h" 16 #include "ipc/ipc_logging.h"
17 17
18 #if defined(OS_LINUX) 18 #if defined(OS_LINUX)
19 #include "base/linux_util.h" 19 #include "base/linux_util.h"
20 #endif // OS_LINUX 20 #endif // OS_LINUX
21 21
22 ChildProcessHost::ChildProcessHost() 22 ChildProcessHost::ChildProcessHost()
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 for (size_t i = 0; i < host_->filters_.size(); ++i) 222 for (size_t i = 0; i < host_->filters_.size(); ++i)
223 host_->filters_[i]->OnChannelError(); 223 host_->filters_[i]->OnChannelError();
224 224
225 // This will delete host_, which will also destroy this! 225 // This will delete host_, which will also destroy this!
226 host_->OnChildDied(); 226 host_->OnChildDied();
227 } 227 }
228 228
229 void ChildProcessHost::ForceShutdown() { 229 void ChildProcessHost::ForceShutdown() {
230 Send(new ChildProcessMsg_Shutdown()); 230 Send(new ChildProcessMsg_Shutdown());
231 } 231 }
OLDNEW
« no previous file with comments | « content/common/child_process_host.h ('k') | content/common/child_process_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698