| Index: services/service_manager/public/cpp/standalone_service/standalone_service.h
|
| diff --git a/services/service_manager/public/cpp/standalone_service/standalone_service.h b/services/service_manager/public/cpp/standalone_service/standalone_service.h
|
| index e7ea3a714846c7ad6c3dce9fb91bb63958c27dbf..2cccd1208423c319430087e70ee0ead7d7bcaac9 100644
|
| --- a/services/service_manager/public/cpp/standalone_service/standalone_service.h
|
| +++ b/services/service_manager/public/cpp/standalone_service/standalone_service.h
|
| @@ -2,6 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_STANDALONE_SERVICE_STANDALONE_SERVICE_H_
|
| +#define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_STANDALONE_SERVICE_STANDALONE_SERVICE_H_
|
| +
|
| #include "base/callback.h"
|
| #include "services/service_manager/public/interfaces/service.mojom.h"
|
|
|
| @@ -12,7 +15,7 @@ using StandaloneServiceCallback = base::Callback<void(mojom::ServiceRequest)>;
|
| // Runs a standalone service in the current process. This takes care of setting
|
| // up a boilerplate environment, including initializing //base objects, Mojo
|
| // IPC, running a MessageLoop, and establishing a connection to the Service
|
| -// Manager via canonical command-line arguments.
|
| +// Manager via canonical command-line arguments. Starts the sandbox on Linux.
|
| //
|
| // Once a Service request is obtained, |callback| is invoked with it. This call
|
| // blocks until |callback| returns.
|
| @@ -23,3 +26,5 @@ using StandaloneServiceCallback = base::Callback<void(mojom::ServiceRequest)>;
|
| void RunStandaloneService(const StandaloneServiceCallback& callback);
|
|
|
| } // namespace service_manager
|
| +
|
| +#endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_STANDALONE_SERVICE_STANDALONE_SERVICE_H_
|
|
|