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

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: Address compile errors 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..c41f61e7c6aa1fe4602a41e25911e732e96af2f5 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<physical_web::MetadataList> GetMetadataList() override;
mattreynolds 2017/01/11 23:04:52 This file needs #include "components/physical_web/
cco3 2017/01/11 23:32:41 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