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

Unified Diff: ios/chrome/browser/ui/webui/physical_web_ui.cc

Issue 2561493002: Pass Physical Web metadata through a struct (Closed)
Patch Set: Fix missed compile errors Created 4 years 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
Index: ios/chrome/browser/ui/webui/physical_web_ui.cc
diff --git a/ios/chrome/browser/ui/webui/physical_web_ui.cc b/ios/chrome/browser/ui/webui/physical_web_ui.cc
index b7423277307c5f04a07695de39dd688c07256095..3e28b91979299d47d4965dbbd52549a6933fe7fb 100644
--- a/ios/chrome/browser/ui/webui/physical_web_ui.cc
+++ b/ios/chrome/browser/ui/webui/physical_web_ui.cc
@@ -78,8 +78,9 @@ void PhysicalWebDOMHandler::HandleRequestNearbyURLs(
const base::ListValue* args) {
base::DictionaryValue results;
- std::unique_ptr<base::ListValue> metadata =
- GetApplicationContext()->GetPhysicalWebDataSource()->GetMetadata();
+ std::unique_ptr<base::ListValue> metadata = GetApplicationContext()
+ ->GetPhysicalWebDataSource()
+ ->GetMetadataListValue();
mattreynolds 2016/12/12 19:41:29 GetMetadata
// Add item indices. When an item is selected, the index of the selected item
// is recorded in a UMA histogram.

Powered by Google App Engine
This is Rietveld 408576698