| 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 68e8bdc0b1f8d2dfcc75639a11fe29615d9f0486..99ca501001eaada3eae53cfce22bb1387252d510 100644
|
| --- a/chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| +++ b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| @@ -82,6 +82,9 @@ std::string GetCategoryTitle(Category category) {
|
| if (category.IsKnownCategory(KnownCategories::OFFLINE_PAGES)) {
|
| return "Offline pages (continue browsing)";
|
| }
|
| + if (category.IsKnownCategory(KnownCategories::PHYSICAL_WEB_PAGES)) {
|
| + return "Physical Web pages (in the vicinity)";
|
| + }
|
| return std::string();
|
| }
|
|
|
| @@ -236,6 +239,10 @@ void SnippetsInternalsMessageHandler::SendAllContent() {
|
| base::FeatureList::IsEnabled(
|
| chrome::android::kNTPOfflinePageSuggestionsFeature));
|
|
|
| + SendBoolean("flag-physical-web-page-suggestions",
|
| + base::FeatureList::IsEnabled(
|
| + chrome::android::kNTPPhysicalWebPageSuggestionsFeature));
|
| +
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "chrome.SnippetsInternals.setHostRestricted",
|
| base::FundamentalValue(
|
|
|