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

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

Issue 2113473002: Add a Physical Web data source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 4 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 8f28f90ce857792e00dd7d513c5d1e28635c1a20..c147bc29bca7b3785ab8b5817e0fec4374e99c7b 100644
--- a/ios/chrome/common/physical_web/physical_web_scanner.h
+++ b/ios/chrome/common/physical_web/physical_web_scanner.h
@@ -7,7 +7,11 @@
#import <Foundation/Foundation.h>
-@class PhysicalWebDevice;
+#include <memory>
+
+namespace base {
+class ListValue;
+}
@protocol PhysicalWebScannerDelegate;
@@ -43,6 +47,11 @@
// Returns a list of physical web devices (PhysicalWebDevice).
- (NSArray*)devices;
+// 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<base::ListValue>)metadata;
+
@end
@protocol PhysicalWebScannerDelegate<NSObject>
« no previous file with comments | « ios/chrome/common/physical_web/physical_web.gyp ('k') | ios/chrome/common/physical_web/physical_web_scanner.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698