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/filesystem_verifier_action.cc b/filesystem_verifier_action.cc
index 5ca80b1..9418d14 100644
--- a/filesystem_verifier_action.cc
+++ b/filesystem_verifier_action.cc
@@ -26,7 +26,7 @@
#include <string>
#include <base/bind.h>
-#include <chromeos/streams/file_stream.h>
+#include <brillo/streams/file_stream.h>
#include "update_engine/boot_control_interface.h"
#include "update_engine/payload_constants.h"
@@ -148,11 +148,11 @@
if (part_path.empty())
return Cleanup(ErrorCode::kFilesystemVerifierError);
- chromeos::ErrorPtr error;
- src_stream_ = chromeos::FileStream::Open(
+ brillo::ErrorPtr error;
+ src_stream_ = brillo::FileStream::Open(
base::FilePath(part_path),
- chromeos::Stream::AccessMode::READ,
- chromeos::FileStream::Disposition::OPEN_EXISTING,
+ brillo::Stream::AccessMode::READ,
+ brillo::FileStream::Disposition::OPEN_EXISTING,
&error);
if (!src_stream_) {
@@ -221,7 +221,7 @@
}
void FilesystemVerifierAction::OnReadErrorCallback(
- const chromeos::Error* error) {
+ const brillo::Error* error) {
// TODO(deymo): Transform the read-error into an specific ErrorCode.
LOG(ERROR) << "Asynchronous read failed.";
Cleanup(ErrorCode::kError);