| Index: components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider_unittest.cc
|
| diff --git a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider_unittest.cc b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider_unittest.cc
|
| index 3f720f40777457521ce9a7ffba2c25f2e667e6a1..61a4fb413c403fd0a3f168ae42a2874e1af0a5e5 100644
|
| --- a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider_unittest.cc
|
| +++ b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider_unittest.cc
|
| @@ -23,6 +23,7 @@
|
| #include "components/prefs/testing_pref_service.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| +#include "url/gurl.h"
|
|
|
| using base::DictionaryValue;
|
| using base::ListValue;
|
| @@ -115,14 +116,14 @@ class PhysicalWebPageSuggestionsProviderTest : public testing::Test {
|
| }
|
|
|
| void FireUrlFound(const std::string& url) {
|
| - physical_web_data_source_.NotifyOnFound(url);
|
| + physical_web_data_source_.NotifyOnFound(GURL(url));
|
| }
|
|
|
| void FireUrlLost(const std::string& url) {
|
| - physical_web_data_source_.NotifyOnLost(url);
|
| + physical_web_data_source_.NotifyOnLost(GURL(url));
|
| }
|
|
|
| - void FireUrlDistanceChanged(const std::string& url, double new_distance) {
|
| + void FireUrlDistanceChanged(const GURL& url, double new_distance) {
|
| physical_web_data_source_.NotifyOnDistanceChanged(url, new_distance);
|
| }
|
|
|
|
|