[debugd] sandbox helpers explicitly
Sandbox helpers as debugd/debugd (like they are now) by default, so the only
change from this CL is that the debug daemon itself runs as root.
CQ-DEPEND=Icc5d7709eac3b11a8098369fa6666235da639f38
BUG=chromium-os:35122
TEST=platform_DebugDaemon
Change-Id: I0cc4b7ed3fd63068dcba4f1c72f2537ebbc1a151
Signed-off-by: Elly Fong-Jones <ellyjones@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/37843
diff --git a/debugd/src/process_with_output.h b/debugd/src/process_with_output.h
index 46e98a5..7df5fb3 100644
--- a/debugd/src/process_with_output.h
+++ b/debugd/src/process_with_output.h
@@ -9,18 +9,19 @@
#include <vector>
#include <base/file_path.h>
-#include <chromeos/process.h>
+
+#include "sandboxed_process.h"
namespace debugd {
// @brief Represents a process whose output can be collected.
//
// The process must be Run() to completion before its output can be collected.
-class ProcessWithOutput : public chromeos::ProcessImpl {
+class ProcessWithOutput : public SandboxedProcess {
public:
ProcessWithOutput();
~ProcessWithOutput();
- bool Init();
+ virtual bool Init();
bool GetOutput(std::string* output);
bool GetOutputLines(std::vector<std::string>* output);
private: