Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: remoting/client/ios/facade/host_list_fetcher.cc

Issue 2809793002: Build Chrome Remote Desktop for iOS in Chromium trybots. (Closed)
Patch Set: Second fixup from CL 2809023003. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/ios/facade/host_info.cc ('k') | remoting/remoting_enable.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/facade/host_list_fetcher.cc
diff --git a/remoting/client/ios/facade/host_list_fetcher.cc b/remoting/client/ios/facade/host_list_fetcher.cc
index e0016eb8cd39e96efc6cc24df808530481d99668..6c1bb008acd2141598cb0b0b9dd6f49608e6292f 100644
--- a/remoting/client/ios/facade/host_list_fetcher.cc
+++ b/remoting/client/ios/facade/host_list_fetcher.cc
@@ -85,10 +85,10 @@ bool HostListFetcher::ProcessResponse(
}
// Any host_info with malformed data will not be added to the hostlist.
- base::DictionaryValue* host_dict;
+ const base::DictionaryValue* host_dict;
for (const auto& host_info : *hosts) {
remoting::HostInfo host;
- if (host_info->GetAsDictionary(&host_dict) &&
+ if (host_info.GetAsDictionary(&host_dict) &&
host.ParseHostInfo(*host_dict)) {
hostlist->push_back(host);
}
« no previous file with comments | « remoting/client/ios/facade/host_info.cc ('k') | remoting/remoting_enable.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698