| 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..1f25843a446a8f3d20f1f3bd1f1214355d99b4a2 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
|
| @@ -41,6 +41,7 @@ class FakePhysicalWebDataSource : public PhysicalWebDataSource {
|
| void StopDiscovery() override;
|
|
|
| std::unique_ptr<base::ListValue> GetMetadata() override;
|
| + std::unique_ptr<MetadataList> GetMetadataList() override;
|
|
|
| bool HasUnresolvedDiscoveries() override;
|
|
|
| @@ -49,6 +50,7 @@ class FakePhysicalWebDataSource : public PhysicalWebDataSource {
|
|
|
| // for testing
|
| void SetMetadata(std::unique_ptr<base::ListValue> metadata);
|
| + void SetMetadataList(std::unique_ptr<MetadataList> metadata_list);
|
| void NotifyOnFound(const std::string& url);
|
| void NotifyOnLost(const std::string& url);
|
| void NotifyOnDistanceChanged(const std::string& url,
|
| @@ -56,6 +58,7 @@ class FakePhysicalWebDataSource : public PhysicalWebDataSource {
|
|
|
| private:
|
| std::unique_ptr<base::ListValue> metadata_;
|
| + std::unique_ptr<MetadataList> metadata_list_;
|
| base::ObserverList<PhysicalWebListener> observer_list_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FakePhysicalWebDataSource);
|
|
|