Index: components/omnibox/browser/physical_web_provider.h |
diff --git a/components/omnibox/browser/physical_web_provider.h b/components/omnibox/browser/physical_web_provider.h |
index d4e7486c73a869a861560e8c996a9f6c023e42ca..6f4ae6fc19565d331bcba03cedd72ebee13da811 100644 |
--- a/components/omnibox/browser/physical_web_provider.h |
+++ b/components/omnibox/browser/physical_web_provider.h |
@@ -38,9 +38,13 @@ class PhysicalWebProvider : public AutocompleteProvider { |
// Adds an overflow match item to |matches_| with a relevance score equal to |
// |relevance| and a label indicating there are |additional_url_count| more |
- // nearby URLs. Selecting the overflow item navigates to the Physical Web |
- // WebUI, which displays the full list of nearby URLs. |
- void AppendOverflowItem(int additional_url_count, int relevance); |
+ // nearby URLs. The page |title| of one of the additional nearby URLs will be |
+ // included in the label, truncating if necessary. Selecting the overflow item |
+ // navigates to the Physical Web WebUI, which displays the full list of nearby |
+ // URLs. |
+ void AppendOverflowItem(int additional_url_count, |
+ int relevance, |
+ const base::string16& title); |
AutocompleteProviderClient* client_; |