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

Unified Diff: content/child/process_background_message_filter.cc

Issue 435333002: Remove in-process call to SetProcessBackgrounded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/process_background_message_filter.cc
diff --git a/content/child/process_background_message_filter.cc b/content/child/process_background_message_filter.cc
index 5c32d54f447233c2ac1c88d744aca812bfb36fb4..ee19d039b2a45c0bad61ea2cd45f4f55259cd8c8 100644
--- a/content/child/process_background_message_filter.cc
+++ b/content/child/process_background_message_filter.cc
@@ -36,11 +36,6 @@ void ProcessBackgroundMessageFilter::SetTimerSlack(bool background) {
void ProcessBackgroundMessageFilter::OnProcessBackgrounded(bool background) {
DCHECK(base::MessageLoopForIO::IsCurrent());
-#ifdef OS_WIN
- // Windows Vista+ has a fancy process backgrounding mode that can only be set
- // from within the process.
- base::Process::Current().SetProcessBackgrounded(background);
-#endif // OS_WIN
// Post to the main thread to set the timer slack.
main_thread_task_runner_->PostTask(
FROM_HERE,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698