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

Unified Diff: ios/chrome/common/physical_web/physical_web_scanner.h

Issue 2561493002: Pass Physical Web metadata through a struct (Closed)
Patch Set: Fix dependency for real 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/common/physical_web/physical_web_scanner.h
diff --git a/ios/chrome/common/physical_web/physical_web_scanner.h b/ios/chrome/common/physical_web/physical_web_scanner.h
index 8873f3bf23535af4f0ffdf76930ed982b6a99c9f..4812c7d4b72e7861173d0b989971b6aab8cca1b6 100644
--- a/ios/chrome/common/physical_web/physical_web_scanner.h
+++ b/ios/chrome/common/physical_web/physical_web_scanner.h
@@ -9,6 +9,8 @@
#include <memory>
+#include "components/physical_web/data_source/physical_web_data_source.h"
Olivier 2017/01/12 08:47:46 Can you forward declare needed classes?
+
namespace base {
class ListValue;
}
@@ -57,6 +59,11 @@ class ListValue;
// returned.
- (std::unique_ptr<base::ListValue>)metadata;
+// Returns the metadata for all resolved physical web URLs. The returned value
+// will never be nil; if no metadata has been received then an empty list is
+// returned.
+- (std::unique_ptr<physical_web::MetadataList>)metadataList;
+
@end
@protocol PhysicalWebScannerDelegate<NSObject>

Powered by Google App Engine
This is Rietveld 408576698