huddly_updater: remove base::ListValue::begin

The function will be removed after libchrome r890000 uprev.

BUG=b:190446478, chromium:1099111
TEST=FEATURES=test emerge-endeavour huddly-updater

Change-Id: Ibb8a3bbf6cc8a3e661c6a3e040ac59fd3bbc89cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/huddly-updater/+/3120766
Tested-by: Grace Cham <hscham@chromium.org>
Tested-by: Kyle Williams <kdgwill@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Kyle Williams <kdgwill@chromium.org>
Commit-Queue: Kyle Williams <kdgwill@chromium.org>
diff --git a/src/huddly_go/manifest.cc b/src/huddly_go/manifest.cc
index 7bd45c8..2155ea2 100644
--- a/src/huddly_go/manifest.cc
+++ b/src/huddly_go/manifest.cc
@@ -111,14 +111,14 @@
   }
 
   // key: files
-  base::ListValue* files_list = nullptr;
-  if (!dic->GetList("files", &files_list)) {
+  base::Value* files_list = dic->FindListKey("files");
+  if (!files_list) {
     std::cout << "failed to parse in finding 'files' key"
               << "\n";
     return;
   }
 
-  for (auto& elem : *files_list) {
+  for (auto& elem : files_list->GetList()) {
     base::DictionaryValue* dic = nullptr;
     if (!elem.GetAsDictionary(&dic)) {
       std::cout << "failed to parse an files element as dictionary"
@@ -163,7 +163,7 @@
   }
 
   std::string result = "";
-  for (auto& elem : *list_val) {
+  for (auto& elem : list_val->GetList()) {
     int val;
     if (!elem.GetAsInteger(&val)) {
       std::cout << "failed to parse value as integer from list value"
@@ -188,14 +188,14 @@
   }
 
   // key: compatible_hw
-  base::ListValue* compatible_hw_list = nullptr;
-  if (!dic->GetList("compatible_hw", &compatible_hw_list)) {
+  base::Value* compatible_hw_list = dic->FindListKey("compatible_hw");
+  if (!compatible_hw_list) {
     std::cout << "failed to parse in finding 'compatible_hw' key'"
               << "\n";
     return;  // returning empty string |hw_rev|.
   }
 
-  for (auto& elem : *compatible_hw_list) {
+  for (auto& elem : compatible_hw_list->GetList()) {
     base::DictionaryValue* compatible_hw_dic = nullptr;
     if (!elem.GetAsDictionary(&compatible_hw_dic)) {
       std::cout << "failed to parse 'compatible_hw' element as dictionary"