Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Unified Diff: components/physical_web/data_source/fake_physical_web_data_source.h

Issue 2565023002: Use GURLs in Physical Web data source (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/physical_web/data_source/fake_physical_web_data_source.h
diff --git a/components/physical_web/data_source/fake_physical_web_data_source.h b/components/physical_web/data_source/fake_physical_web_data_source.h
index 61ef79839e881182f56c237417b257ae6cda5f0f..b1f5c8bce3708688a6d9c77bddbf6197decbbee6 100644
--- a/components/physical_web/data_source/fake_physical_web_data_source.h
+++ b/components/physical_web/data_source/fake_physical_web_data_source.h
@@ -10,6 +10,7 @@
#include "base/memory/ptr_util.h"
#include "base/observer_list.h"
#include "components/physical_web/data_source/physical_web_data_source.h"
+#include "url/gurl.h"
namespace base {
class DictionaryValue;
@@ -49,10 +50,9 @@ class FakePhysicalWebDataSource : public PhysicalWebDataSource {
// for testing
void SetMetadata(std::unique_ptr<base::ListValue> metadata);
- void NotifyOnFound(const std::string& url);
- void NotifyOnLost(const std::string& url);
- void NotifyOnDistanceChanged(const std::string& url,
- double distance_estimate);
+ void NotifyOnFound(const GURL& url);
+ void NotifyOnLost(const GURL& url);
+ void NotifyOnDistanceChanged(const GURL& url, double distance_estimate);
private:
std::unique_ptr<base::ListValue> metadata_;

Powered by Google App Engine
This is Rietveld 408576698