| Index: remoting/host/it2me/it2me_native_messaging_host_main.cc
|
| diff --git a/remoting/host/it2me/it2me_native_messaging_host_main.cc b/remoting/host/it2me/it2me_native_messaging_host_main.cc
|
| index 7d27d19e1d061c7755e4bb0aaef44aef174ec73d..7c56c31430c5c7ff076170506731bfd507f792ee 100644
|
| --- a/remoting/host/it2me/it2me_native_messaging_host_main.cc
|
| +++ b/remoting/host/it2me/it2me_native_messaging_host_main.cc
|
| @@ -13,6 +13,7 @@
|
| #include "net/socket/ssl_server_socket.h"
|
| #include "remoting/base/breakpad.h"
|
| #include "remoting/base/resources.h"
|
| +#include "remoting/host/chromoting_host_context.h"
|
| #include "remoting/host/host_exit_codes.h"
|
| #include "remoting/host/it2me/it2me_native_messaging_host.h"
|
| #include "remoting/host/logging.h"
|
| @@ -125,9 +126,9 @@ int StartIt2MeNativeMessagingHost() {
|
| scoped_ptr<extensions::NativeMessagingChannel> channel(
|
| new PipeMessagingChannel(read_file.Pass(), write_file.Pass()));
|
|
|
| - scoped_ptr<extensions::NativeMessageHost> host(new It2MeNativeMessagingHost(
|
| - task_runner,
|
| - factory.Pass()));
|
| + scoped_ptr<extensions::NativeMessageHost> host =
|
| + It2MeNativeMessagingHost::Create(
|
| + ChromotingHostContext::Create(task_runner), factory.Pass());
|
|
|
| host->Start(native_messaging_pipe.get());
|
|
|
|
|