update_engine: Removing brillo::Any from weaved\'s public APIs
am: 3629d3ed88

* commit '3629d3ed8881d403990331e6292d1959abbe5cbf':
  update_engine: Removing brillo::Any from weaved's public APIs
diff --git a/weave_service.cc b/weave_service.cc
index b8ac174..0a145e4 100644
--- a/weave_service.cc
+++ b/weave_service.cc
@@ -98,14 +98,13 @@
   // changes.
   progress = std::floor(progress * 100.) / 100.;
 
-  brillo::VariantDictionary state{
-      {"_updater.currentChannel", current_channel},
-      {"_updater.trackingChannel", tracking_channel},
-      {"_updater.status", UpdateStatusToWeaveStatus(update_status)},
-      {"_updater.progress", progress},
-      {"_updater.lastUpdateCheckTimestamp",
-       static_cast<double>(last_checked_time)},
-  };
+  base::DictionaryValue state;
+  state.SetString("_updater.currentChannel", current_channel);
+  state.SetString("_updater.trackingChannel", tracking_channel);
+  state.SetString("_updater.status", UpdateStatusToWeaveStatus(update_status));
+  state.SetDouble("_updater.progress", progress);
+  state.SetDouble("_updater.lastUpdateCheckTimestamp",
+                  static_cast<double>(last_checked_time));
 
   if (!weave_service->SetStateProperties(kWeaveComponent, state, nullptr)) {
     LOG(ERROR) << "Failed to update _updater state.";