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

Side by Side Diff: content/browser/child_process_launcher.cc

Issue 6672070: Move the remaining files in chrome\common to content\common. (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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/child_process_launcher.h" 5 #include "content/browser/child_process_launcher.h"
6 6
7 #include <utility> // For std::pair. 7 #include <utility> // For std::pair.
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "base/synchronization/lock.h" 12 #include "base/synchronization/lock.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "chrome/common/chrome_descriptors.h" 14 #include "chrome/common/chrome_descriptors.h"
15 #include "chrome/common/chrome_switches.h" 15 #include "chrome/common/chrome_switches.h"
16 #include "chrome/common/process_watcher.h"
17 #include "chrome/common/result_codes.h"
18 #include "content/browser/browser_thread.h" 16 #include "content/browser/browser_thread.h"
17 #include "content/common/process_watcher.h"
18 #include "content/common/result_codes.h"
19 19
20 #if defined(OS_WIN) 20 #if defined(OS_WIN)
21 #include "base/file_path.h" 21 #include "base/file_path.h"
22 #include "chrome/common/sandbox_policy.h" 22 #include "chrome/common/sandbox_policy.h"
23 #elif defined(OS_LINUX) 23 #elif defined(OS_LINUX)
24 #include "base/singleton.h" 24 #include "base/singleton.h"
25 #include "chrome/browser/crash_handler_host_linux.h" 25 #include "chrome/browser/crash_handler_host_linux.h"
26 #include "content/browser/zygote_host_linux.h" 26 #include "content/browser/zygote_host_linux.h"
27 #include "content/browser/renderer_host/render_sandbox_host_linux.h" 27 #include "content/browser/renderer_host/render_sandbox_host_linux.h"
28 #endif 28 #endif
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 if (status != base::TERMINATION_STATUS_STILL_RUNNING) 339 if (status != base::TERMINATION_STATUS_STILL_RUNNING)
340 context_->process_.Close(); 340 context_->process_.Close();
341 341
342 return status; 342 return status;
343 } 343 }
344 344
345 void ChildProcessLauncher::SetProcessBackgrounded(bool background) { 345 void ChildProcessLauncher::SetProcessBackgrounded(bool background) {
346 DCHECK(!context_->starting_); 346 DCHECK(!context_->starting_);
347 context_->process_.SetProcessBackgrounded(background); 347 context_->process_.SetProcessBackgrounded(background);
348 } 348 }
OLDNEW
« no previous file with comments | « content/browser/browser_message_filter.cc ('k') | content/browser/child_process_security_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698