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

Unified Diff: services/service_manager/public/cpp/standalone_service/standalone_service.h

Issue 2643853005: chromeos: Initial support for crash reporting for chrome --mash (Closed)
Patch Set: sadrul comments Created 3 years, 11 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: 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_

Powered by Google App Engine
This is Rietveld 408576698