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

Unified Diff: components/physical_web/data_source/physical_web_data_source_impl_unittest.cc

Issue 2561493002: Pass Physical Web metadata through a struct (Closed)
Patch Set: Fix missed compile errors 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/physical_web_data_source_impl_unittest.cc
diff --git a/components/physical_web/data_source/physical_web_data_source_impl_unittest.cc b/components/physical_web/data_source/physical_web_data_source_impl_unittest.cc
index 71301000e8750b3ff705cd2739021be0a0746f37..9e08f22c9ac6660857349394b7265807f9849eab 100644
--- a/components/physical_web/data_source/physical_web_data_source_impl_unittest.cc
+++ b/components/physical_web/data_source/physical_web_data_source_impl_unittest.cc
@@ -23,6 +23,7 @@ class TestPhysicalWebDataSource : public PhysicalWebDataSourceImpl {
void StartDiscovery(bool network_request_enabled) override;
void StopDiscovery() override;
std::unique_ptr<base::ListValue> GetMetadata() override;
+ std::unique_ptr<MetadataList> GetMetadataList() override;
bool HasUnresolvedDiscoveries() override;
};
void TestPhysicalWebDataSource::StartDiscovery(bool network_request_enabled) {}
@@ -33,6 +34,10 @@ std::unique_ptr<base::ListValue> TestPhysicalWebDataSource::GetMetadata() {
return NULL;
}
+std::unique_ptr<MetadataList> TestPhysicalWebDataSource::GetMetadataList() {
+ return NULL;
+}
+
bool TestPhysicalWebDataSource::HasUnresolvedDiscoveries() {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698