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

Unified Diff: remoting/host/it2me/it2me_host.cc

Issue 2080723008: [Chromoting] Use device::PowerSaveBlocker to block screen saver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve review comments 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/it2me/it2me_host.cc
diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc
index 2b23c1bdd5609c7738390e2328681a68a80a5496..cd0c33977b8ad64b8fbfda693b46d9fbedba2c9e 100644
--- a/remoting/host/it2me/it2me_host.cc
+++ b/remoting/host/it2me/it2me_host.cc
@@ -266,8 +266,7 @@ void It2MeHost::FinishConnect() {
// Create the host.
host_.reset(new ChromotingHost(desktop_environment_factory_.get(),
std::move(session_manager), transport_context,
- host_context_->audio_task_runner(),
- host_context_->video_encode_task_runner()));
+ *host_context_));
host_->AddStatusObserver(this);
host_status_logger_.reset(
new HostStatusLogger(host_->AsWeakPtr(), ServerLogEntry::IT2ME,

Powered by Google App Engine
This is Rietveld 408576698