| Index: components/physical_web/data_source/physical_web_listener.h
|
| diff --git a/components/physical_web/data_source/physical_web_listener.h b/components/physical_web/data_source/physical_web_listener.h
|
| index 910737e80a592f6eb50b8f247ff002715d37e2c3..3e74bc159e950bc58860a5adb76e6ac0bde7a7ea 100644
|
| --- a/components/physical_web/data_source/physical_web_listener.h
|
| +++ b/components/physical_web/data_source/physical_web_listener.h
|
| @@ -5,7 +5,7 @@
|
| #ifndef COMPONENTS_PHYSICAL_WEB_DATA_SOURCE_PHYSICAL_WEB_LISTENER_H_
|
| #define COMPONENTS_PHYSICAL_WEB_DATA_SOURCE_PHYSICAL_WEB_LISTENER_H_
|
|
|
| -#include <string>
|
| +class GURL;
|
|
|
| namespace physical_web {
|
|
|
| @@ -14,15 +14,14 @@ class PhysicalWebListener {
|
| public:
|
|
|
| // OnFound(url) will be called when a new URL has been found.
|
| - virtual void OnFound(const std::string& url) = 0;
|
| + virtual void OnFound(const GURL& url) = 0;
|
|
|
| // OnLost(url) will be called when a URL can no longer be seen.
|
| - virtual void OnLost(const std::string& url) = 0;
|
| + virtual void OnLost(const GURL& url) = 0;
|
|
|
| // OnDistanceChagned(url, distance_estimate) will be called when the distance
|
| // estimate is changed for the URL.
|
| - virtual void OnDistanceChanged(const std::string& url,
|
| - double distance_estimate) = 0;
|
| + virtual void OnDistanceChanged(const GURL& url, double distance_estimate) = 0;
|
| };
|
|
|
| } // namespace physical_web
|
|
|