| 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 93179bd19c533fa3fd238a4f18df88bd9cd228e0..94c2eb8957a49628be9e0693b30c309425fd4099 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
|
| @@ -224,17 +224,17 @@ ContentSuggestion PhysicalWebPageSuggestionsProvider::ConvertPhysicalWebPage(
|
| }
|
|
|
| // PhysicalWebListener implementation.
|
| -void PhysicalWebPageSuggestionsProvider::OnFound(const std::string& url) {
|
| +void PhysicalWebPageSuggestionsProvider::OnFound(const GURL& url) {
|
| FetchPhysicalWebPages();
|
| }
|
|
|
| -void PhysicalWebPageSuggestionsProvider::OnLost(const std::string& url) {
|
| +void PhysicalWebPageSuggestionsProvider::OnLost(const GURL& url) {
|
| // TODO(vitaliii): Do not refetch, but just update the current state.
|
| FetchPhysicalWebPages();
|
| }
|
|
|
| void PhysicalWebPageSuggestionsProvider::OnDistanceChanged(
|
| - const std::string& url,
|
| + const GURL& url,
|
| double distance_estimate) {
|
| FetchPhysicalWebPages();
|
| }
|
|
|