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

Unified Diff: components/omnibox/browser/physical_web_provider.cc

Issue 2561493002: Pass Physical Web metadata through a struct (Closed)
Patch Set: 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: components/omnibox/browser/physical_web_provider.cc
diff --git a/components/omnibox/browser/physical_web_provider.cc b/components/omnibox/browser/physical_web_provider.cc
index fc65e2e4464f0b0669f89351ffc27dfa25b90593..be5bf789306c963b532c5b72771252b38181adc3 100644
--- a/components/omnibox/browser/physical_web_provider.cc
+++ b/components/omnibox/browser/physical_web_provider.cc
@@ -73,7 +73,7 @@ void PhysicalWebProvider::Start(const AutocompleteInput& input,
return;
}
- ConstructMatches(data_source->GetMetadata().get());
+ ConstructMatches(data_source->GetMetadataListValue().get());
mattreynolds 2016/12/07 19:55:31 There's another GetMetadata() caller that will nee
cco3 2016/12/08 23:52:50 Done.
// Physical Web matches should never be default. If the omnibox input is
// non-empty and we have at least one Physical Web match, add the current URL

Powered by Google App Engine
This is Rietveld 408576698