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

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

Issue 2557213002: Build services as standalone executables (Closed)
Patch Set: remove DCHECKs with side effects -_- Created 4 years 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/linux_sandbox.h
diff --git a/services/service_manager/runner/host/linux_sandbox.h b/services/service_manager/public/cpp/standalone_service/linux_sandbox.h
similarity index 78%
rename from services/service_manager/runner/host/linux_sandbox.h
rename to services/service_manager/public/cpp/standalone_service/linux_sandbox.h
index a9e48045f6035887b1173d72e36fb4f6c6a4051a..df13dfd95382c31873840b426f12b2111412aef8 100644
--- a/services/service_manager/runner/host/linux_sandbox.h
+++ b/services/service_manager/public/cpp/standalone_service/linux_sandbox.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_SERVICE_MANAGER_RUNNER_HOST_LINUX_SANDBOX_H_
-#define SERVICES_SERVICE_MANAGER_RUNNER_HOST_LINUX_SANDBOX_H_
+#ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_STANDALONE_SERVICE_LINUX_SANDBOX_H_
+#define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_STANDALONE_SERVICE_LINUX_SANDBOX_H_
#include <memory>
@@ -15,7 +15,8 @@
namespace service_manager {
-// Encapsulates all tasks related to raising the sandbox for mojo runner.
+// Encapsulates all tasks related to raising the sandbox for a standalone
+// service.
class LinuxSandbox {
public:
explicit LinuxSandbox(
@@ -48,4 +49,4 @@ class LinuxSandbox {
} // namespace service_manager
-#endif // SERVICES_SERVICE_MANAGER_RUNNER_HOST_LINUX_SANDBOX_H_
+#endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_STANDALONE_SERVICE_LINUX_SANDBOX_H_

Powered by Google App Engine
This is Rietveld 408576698