diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 16:14:46 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 16:14:46 +0000 |
commit | 8a42080741944d129bc3c5af69d8b480c9a77dab (patch) | |
tree | 2b2f062ec603a0c77c729c65cb0db1ea10c3f47f /base/process_posix.cc | |
parent | 88cb7aae56fb25519a659599695a38d8822e01f3 (diff) | |
download | chromium_src-8a42080741944d129bc3c5af69d8b480c9a77dab.zip chromium_src-8a42080741944d129bc3c5af69d8b480c9a77dab.tar.gz chromium_src-8a42080741944d129bc3c5af69d8b480c9a77dab.tar.bz2 |
Fix tab backgrounding
This broke because an incompatible change was made to Process, and because there was no test that would catch it. I've fixed the underlying problem for both Linux and ChromeOS and made it testable.
BUG=102726
TEST=Added new RenderProcessHostTest.Backgrounding
Review URL: http://codereview.chromium.org/8506036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_posix.cc')
-rw-r--r-- | base/process_posix.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/base/process_posix.cc b/base/process_posix.cc index 6e65ebf..20e623c 100644 --- a/base/process_posix.cc +++ b/base/process_posix.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -57,6 +57,12 @@ bool Process::SetProcessBackgrounded(bool value) { // priority. return false; } + +// static +bool Process::CanBackgroundProcesses() { + return false; +} + #endif int Process::GetPriority() const { |