| Index: remoting/host/remoting_me2me_host.cc
|
| diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
|
| index aaae9dbd264bb4e4615281c94a4e4f159cfb090d..a34ffa152c55a8a330bbf60669cfbee6dee2e0b5 100644
|
| --- a/remoting/host/remoting_me2me_host.cc
|
| +++ b/remoting/host/remoting_me2me_host.cc
|
| @@ -26,6 +26,7 @@
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/stringize_macros.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "base/task_scheduler/task_scheduler.h"
|
| #include "build/build_config.h"
|
| #include "components/policy/policy_constants.h"
|
| #include "ipc/ipc_channel.h"
|
| @@ -1641,6 +1642,9 @@ int HostProcessMain() {
|
| base::GetLinuxDistro();
|
| #endif
|
|
|
| + const int kMaxBackgroundThreads = 5;
|
| + base::TaskScheduler::CreateAndSetSimpleTaskScheduler(kMaxBackgroundThreads);
|
| +
|
| // Create the main message loop and start helper threads.
|
| base::MessageLoopForUI message_loop;
|
| std::unique_ptr<ChromotingHostContext> context =
|
|
|