update_engine: Rename "chromeos" -> "brillo" in include paths and namespaces
libchromeos is transitioning to libbrillo and chromeos namespaces
and include directory is changing to brillo.
Bug: 24872993
Change-Id: I770659a95be380a50fe3b2ba9f91d65818f40945
diff --git a/subprocess.h b/subprocess.h
index f330b9b..8c72c31 100644
--- a/subprocess.h
+++ b/subprocess.h
@@ -27,10 +27,10 @@
#include <base/callback.h>
#include <base/logging.h>
#include <base/macros.h>
-#include <chromeos/asynchronous_signal_handler_interface.h>
-#include <chromeos/message_loops/message_loop.h>
-#include <chromeos/process.h>
-#include <chromeos/process_reaper.h>
+#include <brillo/asynchronous_signal_handler_interface.h>
+#include <brillo/message_loops/message_loop.h>
+#include <brillo/process.h>
+#include <brillo/process_reaper.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST
// The Subprocess class is a singleton. It's used to spawn off a subprocess
@@ -61,7 +61,7 @@
~Subprocess();
// Initialize and register the Subprocess singleton.
- void Init(chromeos::AsynchronousSignalHandlerInterface* async_signal_handler);
+ void Init(brillo::AsynchronousSignalHandlerInterface* async_signal_handler);
// Launches a process in the background and calls the passed |callback| when
// the process exits.
@@ -105,12 +105,12 @@
// The ProcessImpl instance managing the child process. Destroying this
// will close our end of the pipes we have open.
- chromeos::ProcessImpl proc;
+ brillo::ProcessImpl proc;
// These are used to monitor the stdout of the running process, including
// the stderr if it was redirected.
- chromeos::MessageLoop::TaskId stdout_task_id{
- chromeos::MessageLoop::kTaskIdNull};
+ brillo::MessageLoop::TaskId stdout_task_id{
+ brillo::MessageLoop::kTaskIdNull};
int stdout_fd{-1};
std::string stdout;
};
@@ -131,7 +131,7 @@
std::map<pid_t, std::unique_ptr<SubprocessRecord>> subprocess_records_;
// Used to watch for child processes.
- chromeos::ProcessReaper process_reaper_;
+ brillo::ProcessReaper process_reaper_;
DISALLOW_COPY_AND_ASSIGN(Subprocess);
};