Chromium Code Reviews| 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..46d5758e20e73bd3a9118b9ccba3ee5c3fa5524f 100644 |
| --- a/remoting/host/it2me/it2me_host.cc |
| +++ b/remoting/host/it2me/it2me_host.cc |
| @@ -29,6 +29,7 @@ |
| #include "remoting/host/it2me_desktop_environment.h" |
| #include "remoting/host/policy_watcher.h" |
| #include "remoting/host/register_support_host_request.h" |
| +#include "remoting/host/screen_saver_blocker.h" |
| #include "remoting/host/service_urls.h" |
| #include "remoting/protocol/auth_util.h" |
| #include "remoting/protocol/chromium_port_allocator_factory.h" |
| @@ -272,6 +273,8 @@ void It2MeHost::FinishConnect() { |
| host_status_logger_.reset( |
| new HostStatusLogger(host_->AsWeakPtr(), ServerLogEntry::IT2ME, |
| signal_strategy_.get(), directory_bot_jid_)); |
| + screen_saver_blocker_.reset( |
|
Sergey Ulanov
2016/07/08 21:31:46
Do we want power-save blocker for It2Me host? I'm
Hzj_jie
2016/07/10 22:04:57
Emmm, good point.
|
| + new ScreenSaverBlocker(host_->AsWeakPtr(), host_context_->Copy())); |
| // Create event logger. |
| host_event_logger_ = |