summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_child_process_host_impl.h
diff options
context:
space:
mode:
authorsimonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-20 16:00:42 +0000
committersimonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-20 16:00:42 +0000
commit57e1d686b05277bc5d96b948d028d2ea951bcb7b (patch)
tree7b99b631084252f61a73e3477676ddfb303a668d /content/browser/browser_child_process_host_impl.h
parent7b3af0d0003a441d9f50bfaf63eb75ca07a7ef7f (diff)
downloadchromium_src-57e1d686b05277bc5d96b948d028d2ea951bcb7b.zip
chromium_src-57e1d686b05277bc5d96b948d028d2ea951bcb7b.tar.gz
chromium_src-57e1d686b05277bc5d96b948d028d2ea951bcb7b.tar.bz2
Revert 200932 "Lower the priority of shared workers that aren't ..."
> Lower the priority of shared workers that aren't associated with the foreground tab. > > This should help out less powerful devices in the case where there's a shared worker in another tab and a cpu intensive page in the foreground. > > BUG= > TEST=Open a doc, see webworker running, switch tabs and check webworker's priority by outputting contents of /sys/fs/cgroup/cpu/chrome_renderers/background/cgroup.proc on ChromeOS. With an open doc in a background tab, run 720p video (ie. youtube) at fullscreen, should stay fairly smooth. > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199840 > > Review URL: https://chromiumcodereview.appspot.com/14137016 TBR=simonhatch@chromium.org Review URL: https://codereview.chromium.org/15465006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201090 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_child_process_host_impl.h')
-rw-r--r--content/browser/browser_child_process_host_impl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h
index 9933ca3..e3fdcb5 100644
--- a/content/browser/browser_child_process_host_impl.h
+++ b/content/browser/browser_child_process_host_impl.h
@@ -61,9 +61,6 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
// Removes this host from the host list. Calls ChildProcessHost::ForceShutdown
void ForceShutdown();
- // Callers can reduce the BrowserChildProcess' priority.
- void SetBackgrounded(bool backgrounded);
-
// Controls whether the child process should be terminated on browser
// shutdown. Default is to always terminate.
void SetTerminateChildOnShutdown(bool terminate_on_shutdown);