| Index: chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| diff --git a/chrome/browser/ui/webui/snippets_internals_message_handler.cc b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| index 105147d3d9af045167e48d028c0bfac2993ade98..a1a922d222bea0d77982668ee7a279d65af478cc 100644
|
| --- a/chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| +++ b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| @@ -59,6 +59,9 @@ std::string GetCategoryTitle(Category category) {
|
| if (category.IsKnownCategory(KnownCategories::BOOKMARKS)) {
|
| return "Recently visited bookmarks";
|
| }
|
| + if (category.IsKnownCategory(KnownCategories::PHYSICAL_WEB_PAGES)) {
|
| + return "Physical Web pages (in the vicinity)";
|
| + }
|
| return std::string();
|
| }
|
|
|
| @@ -207,6 +210,10 @@ void SnippetsInternalsMessageHandler::SendAllContent() {
|
| base::FeatureList::IsEnabled(
|
| ntp_snippets::kOfflinePageSuggestionsFeature));
|
|
|
| + SendBoolean("flag-physical-web-page-suggestions",
|
| + base::FeatureList::IsEnabled(
|
| + chrome::android::kNTPPhysicalWebPageSuggestionsFeature));
|
| +
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "chrome.SnippetsInternals.setHostRestricted",
|
| base::FundamentalValue(
|
|
|