| Index: components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc
|
| diff --git a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc
|
| index c77fd77ae28bb5a5d454e4c3c472d1ba93dfe85f..35f1af780f7549c836afb49211384c0388337f3e 100644
|
| --- a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc
|
| +++ b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc
|
| @@ -28,7 +28,9 @@ PhysicalWebPageSuggestionsProvider::PhysicalWebPageSuggestionsProvider(
|
| : ContentSuggestionsProvider(observer, category_factory),
|
| category_status_(CategoryStatus::AVAILABLE_LOADING),
|
| provided_category_(category_factory->FromKnownCategory(
|
| - KnownCategories::PHYSICAL_WEB_PAGES)) {}
|
| + KnownCategories::PHYSICAL_WEB_PAGES)) {
|
| + observer->OnCategoryStatusChanged(this, provided_category_, category_status_);
|
| +}
|
|
|
| PhysicalWebPageSuggestionsProvider::~PhysicalWebPageSuggestionsProvider() {}
|
|
|
| @@ -55,11 +57,6 @@ void PhysicalWebPageSuggestionsProvider::OnDisplayableUrlsChanged(
|
| std::move(suggestions));
|
| }
|
|
|
| -std::vector<Category>
|
| -PhysicalWebPageSuggestionsProvider::GetProvidedCategories() {
|
| - return std::vector<Category>({provided_category_});
|
| -}
|
| -
|
| CategoryStatus PhysicalWebPageSuggestionsProvider::GetCategoryStatus(
|
| Category category) {
|
| return category_status_;
|
|
|