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

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

Issue 639233002: Remote assistance on Chrome OS Part IV - It2MeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_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..e1cc42022ec8a8c745dc1b0fde1be0cea7acb502 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"
@@ -126,7 +127,7 @@ int StartIt2MeNativeMessagingHost() {
new PipeMessagingChannel(read_file.Pass(), write_file.Pass()));
scoped_ptr<extensions::NativeMessageHost> host(new It2MeNativeMessagingHost(
- task_runner,
+ ChromotingHostContext::Create(task_runner),
factory.Pass()));
host->Start(native_messaging_pipe.get());

Powered by Google App Engine
This is Rietveld 408576698