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/omaha_hash_calculator.cc b/omaha_hash_calculator.cc
index 7f654a7..cb01a56 100644
--- a/omaha_hash_calculator.cc
+++ b/omaha_hash_calculator.cc
@@ -20,7 +20,7 @@
 
 #include <base/logging.h>
 #include <base/posix/eintr_wrapper.h>
-#include <chromeos/data_encoding.h>
+#include <brillo/data_encoding.h>
 
 #include "update_engine/utils.h"
 
@@ -52,7 +52,7 @@
   }
 
   const int kBufferSize = 128 * 1024;  // 128 KiB
-  chromeos::Blob buffer(kBufferSize);
+  brillo::Blob buffer(kBufferSize);
   off_t bytes_processed = 0;
   while (length < 0 || bytes_processed < length) {
     off_t bytes_to_read = buffer.size();
@@ -82,14 +82,14 @@
   TEST_AND_RETURN_FALSE(SHA256_Final(raw_hash_.data(), &ctx_) == 1);
 
   // Convert raw_hash_ to base64 encoding and store it in hash_.
-  hash_ = chromeos::data_encoding::Base64Encode(raw_hash_.data(),
-                                                raw_hash_.size());
+  hash_ = brillo::data_encoding::Base64Encode(raw_hash_.data(),
+                                              raw_hash_.size());
   return true;
 }
 
 bool OmahaHashCalculator::RawHashOfBytes(const void* data,
                                          size_t length,
-                                         chromeos::Blob* out_hash) {
+                                         brillo::Blob* out_hash) {
   OmahaHashCalculator calc;
   TEST_AND_RETURN_FALSE(calc.Update(data, length));
   TEST_AND_RETURN_FALSE(calc.Finalize());
@@ -97,13 +97,13 @@
   return true;
 }
 
-bool OmahaHashCalculator::RawHashOfData(const chromeos::Blob& data,
-                                        chromeos::Blob* out_hash) {
+bool OmahaHashCalculator::RawHashOfData(const brillo::Blob& data,
+                                        brillo::Blob* out_hash) {
   return RawHashOfBytes(data.data(), data.size(), out_hash);
 }
 
 off_t OmahaHashCalculator::RawHashOfFile(const string& name, off_t length,
-                                         chromeos::Blob* out_hash) {
+                                         brillo::Blob* out_hash) {
   OmahaHashCalculator calc;
   off_t res = calc.UpdateFile(name, length);
   if (res < 0) {
@@ -127,7 +127,7 @@
   return OmahaHashOfBytes(str.data(), str.size());
 }
 
-string OmahaHashCalculator::OmahaHashOfData(const chromeos::Blob& data) {
+string OmahaHashCalculator::OmahaHashOfData(const brillo::Blob& data) {
   return OmahaHashOfBytes(data.data(), data.size());
 }