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

Unified Diff: remoting/host/host_main.cc

Issue 2424353002: Use ChannelMojo between the remoting daemon and network processes. (Closed)
Patch Set: Created 4 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/host_main.cc
diff --git a/remoting/host/host_main.cc b/remoting/host/host_main.cc
index f2afe5f7dbad67625154d71c2369020cc97fefc5..d0ea983b7527eae007f54ed85070a5dc560b7ef5 100644
--- a/remoting/host/host_main.cc
+++ b/remoting/host/host_main.cc
@@ -19,6 +19,7 @@
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
+#include "mojo/edk/embedder/embedder.h"
#include "remoting/base/breakpad.h"
#include "remoting/host/host_exit_codes.h"
#include "remoting/host/logging.h"
@@ -211,6 +212,8 @@ int HostMain(int argc, char** argv) {
remoting::LoadResources("");
+ mojo::edk::Init();
joedow 2016/10/24 17:42:51 I'm not sure how expensive this call is for the ot
Sergey Ulanov 2016/10/24 17:53:15 +1 It's also likely to affect binary size, as we d
Sam McNally 2016/10/24 22:54:04 Done.
+
// Invoke the entry point.
int exit_code = main_routine();
if (exit_code == kInvalidCommandLineExitCode) {

Powered by Google App Engine
This is Rietveld 408576698