summaryrefslogtreecommitdiffstats
path: root/remoting/host/simple_host_process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/simple_host_process.cc')
-rw-r--r--remoting/host/simple_host_process.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index d979e83..aa8c1bc 100644
--- a/remoting/host/simple_host_process.cc
+++ b/remoting/host/simple_host_process.cc
@@ -26,6 +26,7 @@
#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/nss_util.h"
#include "base/path_service.h"
+#include "base/test/mock_chrome_application_mac.h"
#include "base/threading/thread.h"
#include "media/base/media.h"
#include "remoting/base/tracer.h"
@@ -164,6 +165,10 @@ int main(int argc, char** argv) {
host->set_protocol_config(config.release());
}
+#if defined(OS_MACOSX)
+ mock_cr_app::RegisterMockCrApp();
+#endif // OS_MACOSX
+
// Let the chromoting host run until the shutdown task is executed.
host->Start(NewRunnableFunction(&ShutdownTask, &message_loop));
message_loop.MessageLoop::Run();