| Index: services/service_manager/runner/host/host_test_service_main.cc
|
| diff --git a/services/service_manager/runner/host/host_test_service_main.cc b/services/service_manager/runner/host/host_test_service_main.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2ce8492f3f43f3ceab6a4b63a3ea771b7520478c
|
| --- /dev/null
|
| +++ b/services/service_manager/runner/host/host_test_service_main.cc
|
| @@ -0,0 +1,12 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "mojo/public/cpp/system/message_pipe.h"
|
| +#include "services/service_manager/public/c/main.h"
|
| +
|
| +MojoResult ServiceMain(MojoHandle service_request_handle) {
|
| + mojo::ScopedMessagePipeHandle service_request_pipe;
|
| + service_request_pipe.reset(mojo::MessagePipeHandle(service_request_handle));
|
| + return MOJO_RESULT_OK;
|
| +}
|
|
|