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

Unified Diff: remoting/host/basic_desktop_environment.cc

Issue 2080723008: [Chromoting] Use device::PowerSaveBlocker to block screen saver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: remoting/host/basic_desktop_environment.cc
diff --git a/remoting/host/basic_desktop_environment.cc b/remoting/host/basic_desktop_environment.cc
index b047c26804112a1de221e3b3bae8d0bb15d495f6..cb62ff4677c4de3874a5a5f1f779c92774c4c01e 100644
--- a/remoting/host/basic_desktop_environment.cc
+++ b/remoting/host/basic_desktop_environment.cc
@@ -70,6 +70,8 @@ BasicDesktopEnvironment::CreateVideoCapturer() {
DCHECK(caller_task_runner_->BelongsToCurrentThread());
return base::WrapUnique(new DesktopCapturerProxy(video_capture_task_runner_,
+ ui_task_runner_,
+ caller_task_runner_,
Hzj_jie 2016/06/22 18:57:59 We have not sent file_task_runner to BasicDesktopE
Sergey Ulanov 2016/06/22 19:05:37 I don't think this is acceptable. We should never
Hzj_jie 2016/06/24 19:14:29 I think all the jobs in network thread are all IO
Sergey Ulanov 2016/06/27 18:20:24 That's right, we only allow non-blocking IO on tha
*desktop_capture_options_));
}

Powered by Google App Engine
This is Rietveld 408576698