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

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: Forward declare MetadataList Created 3 years, 11 months 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 87d8da8a2f6e81f2f1d3f3f101c990eabad38f0d..ddf30bc4542c00d20aaca6c8343bbfd8cbb4378e 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