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

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

Issue 8277018: Move content_switches to content\public\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/browser/zygote_main_linux.cc ('k') | content/common/child_thread.cc » ('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_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/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 12 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
13 #include "content/common/child_process_info.h" 13 #include "content/common/child_process_info.h"
14 #include "content/common/child_process_messages.h" 14 #include "content/common/child_process_messages.h"
15 #include "content/common/content_paths.h" 15 #include "content/common/content_paths.h"
16 #include "content/common/content_switches.h" 16 #include "content/public/common/content_switches.h"
17 #include "ipc/ipc_logging.h" 17 #include "ipc/ipc_logging.h"
18 18
19 #if defined(OS_LINUX) 19 #if defined(OS_LINUX)
20 #include "base/linux_util.h" 20 #include "base/linux_util.h"
21 #endif // OS_LINUX 21 #endif // OS_LINUX
22 22
23 #if defined(OS_MACOSX) 23 #if defined(OS_MACOSX)
24 namespace { 24 namespace {
25 25
26 // Given |path| identifying a Mac-style child process executable path, adjusts 26 // Given |path| identifying a Mac-style child process executable path, adjusts
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 for (size_t i = 0; i < host_->filters_.size(); ++i) 393 for (size_t i = 0; i < host_->filters_.size(); ++i)
394 host_->filters_[i]->OnChannelError(); 394 host_->filters_[i]->OnChannelError();
395 395
396 // This will delete host_, which will also destroy this! 396 // This will delete host_, which will also destroy this!
397 host_->OnChildDisconnected(); 397 host_->OnChildDisconnected();
398 } 398 }
399 399
400 void ChildProcessHost::ForceShutdown() { 400 void ChildProcessHost::ForceShutdown() {
401 Send(new ChildProcessMsg_Shutdown()); 401 Send(new ChildProcessMsg_Shutdown());
402 } 402 }
OLDNEW
« no previous file with comments | « content/browser/zygote_main_linux.cc ('k') | content/common/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698