diff options
author | Alex Vakulenko <avakulenko@google.com> | 2015-10-13 09:23:34 -0700 |
---|---|---|
committer | Alex Vakulenko <avakulenko@google.com> | 2015-10-13 15:29:24 -0700 |
commit | 74dc62460b8cdd5bfeac47bfe8e759fc04b55ef8 (patch) | |
tree | 7349d98fd73421d28c764b6a3cc713878fda4e3c /metricsd/metrics_daemon.cc | |
parent | cee44732e61c3e0f9491aa6cea78670ed6c9c89d (diff) | |
download | system_core-74dc62460b8cdd5bfeac47bfe8e759fc04b55ef8.tar.gz system_core-74dc62460b8cdd5bfeac47bfe8e759fc04b55ef8.tar.bz2 system_core-74dc62460b8cdd5bfeac47bfe8e759fc04b55ef8.zip |
system/core: 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: I797613a38c7444a113f12e38366a424388477276
Diffstat (limited to 'metricsd/metrics_daemon.cc')
-rw-r--r-- | metricsd/metrics_daemon.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/metricsd/metrics_daemon.cc b/metricsd/metrics_daemon.cc index 2ea5bbda9..2b7e98c13 100644 --- a/metricsd/metrics_daemon.cc +++ b/metricsd/metrics_daemon.cc @@ -140,7 +140,7 @@ int MetricsDaemon::Run() { version_cumulative_cpu_use_->Set(0); } - return chromeos::DBusDaemon::Run(); + return brillo::DBusDaemon::Run(); } void MetricsDaemon::RunUploaderTest() { @@ -242,8 +242,8 @@ void MetricsDaemon::Init(bool testing, } int MetricsDaemon::OnInit() { - int return_code = dbus_enabled_ ? chromeos::DBusDaemon::OnInit() : - chromeos::Daemon::OnInit(); + int return_code = dbus_enabled_ ? brillo::DBusDaemon::OnInit() : + brillo::Daemon::OnInit(); if (return_code != EX_OK) return return_code; @@ -326,7 +326,7 @@ void MetricsDaemon::OnShutdown(int* return_code) { << error.name << ": " << error.message; } } - chromeos::DBusDaemon::OnShutdown(return_code); + brillo::DBusDaemon::OnShutdown(return_code); } void MetricsDaemon::OnEnableMetrics(const std::weak_ptr<weaved::Command>& cmd) { @@ -368,7 +368,7 @@ void MetricsDaemon::UpdateWeaveState() { if (!device_) return; - chromeos::VariantDictionary state_change{ + brillo::VariantDictionary state_change{ { "_metrics._AnalyticsReportingState", metrics_lib_->AreMetricsEnabled() ? "enabled" : "disabled" } }; |