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/update_manager/real_shill_provider.cc b/update_manager/real_shill_provider.cc
index a38c006..da0b545 100644
--- a/update_manager/real_shill_provider.cc
+++ b/update_manager/real_shill_provider.cc
@@ -20,7 +20,7 @@
#include <base/logging.h>
#include <base/strings/stringprintf.h>
-#include <chromeos/type_name_undecorate.h>
+#include <brillo/type_name_undecorate.h>
#include <shill/dbus-constants.h>
#include <shill/dbus-proxies.h>
@@ -72,8 +72,8 @@
// Attempt to read initial connection status. Even if this fails because shill
// is not responding (e.g. it is down) we'll be notified via "PropertyChanged"
// signal as soon as it comes up, so this is not a critical step.
- chromeos::VariantDictionary properties;
- chromeos::ErrorPtr error;
+ brillo::VariantDictionary properties;
+ brillo::ErrorPtr error;
if (!manager_proxy->GetProperties(&properties, &error))
return true;
@@ -88,13 +88,13 @@
}
void RealShillProvider::OnManagerPropertyChanged(const string& name,
- const chromeos::Any& value) {
+ const brillo::Any& value) {
if (name == shill::kDefaultServiceProperty) {
dbus::ObjectPath service_path = value.TryGet<dbus::ObjectPath>();
if (!service_path.IsValid()) {
LOG(WARNING) << "Got an invalid DefaultService path. The property value "
"contains a "
- << chromeos::UndecorateTypeName(value.GetType().name())
+ << brillo::UndecorateTypeName(value.GetType().name())
<< ", read as the object path: '" << service_path.value()
<< "'";
}
@@ -136,8 +136,8 @@
shill_proxy_->GetServiceForPath(default_service_path_);
// Get the connection properties synchronously.
- chromeos::VariantDictionary properties;
- chromeos::ErrorPtr error;
+ brillo::VariantDictionary properties;
+ brillo::ErrorPtr error;
if (!service->GetProperties(&properties, &error)) {
var_conn_type_.UnsetValue();
var_conn_tethering_.UnsetValue();