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

Unified Diff: base/process_win.cc

Issue 8506036: Fix tab backgrounding on Linux / ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated license Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process_posix.cc ('k') | content/browser/renderer_host/render_process_host_browsertest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_win.cc
diff --git a/base/process_win.cc b/base/process_win.cc
index 8b4c2b04f87db95f232f258c1c2fb23d8efb7dd6..3f683ab3e5a70a58dacddb5798dfaafdbf8ea15f 100644
--- a/base/process_win.cc
+++ b/base/process_win.cc
@@ -79,6 +79,11 @@ Process Process::Current() {
return Process(::GetCurrentProcess());
}
+// static
+bool Process::CanBackgroundProcesses() {
+ return true;
+}
+
int Process::GetPriority() const {
DCHECK(process_);
return ::GetPriorityClass(process_);
« no previous file with comments | « base/process_posix.cc ('k') | content/browser/renderer_host/render_process_host_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698