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

Unified Diff: ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h

Issue 2561493002: Pass Physical Web metadata through a struct (Closed)
Patch Set: Some ios compilation issues 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: ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h
diff --git a/ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h b/ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h
index 20d0756be93f50d4f6b343177532f3fc542a4a93..2134b507bf22fd64c37718dc85f0d82a3318c71d 100644
--- a/ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h
+++ b/ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h
@@ -35,6 +35,10 @@ class IOSChromePhysicalWebDataSource
// requests are disabled, the list will be empty.
std::unique_ptr<base::ListValue> GetMetadata() override;
+ // Returns a list of resolved URLs and associated page metadata. If network
+ // requests are disabled, the list will be empty.
+ std::unique_ptr<MetadataList> GetMetadataList() override;
mattreynolds 2017/01/11 20:54:50 MetadataList needs the physical_web:: namespace
cco3 2017/01/11 22:51:02 Done.
+
// Returns boolean |true| if network requests are disabled and there are one
// or more discovered URLs that have not been sent to the resolution service.
bool HasUnresolvedDiscoveries() override;

Powered by Google App Engine
This is Rietveld 408576698