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

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: Remove notification Created 4 years, 6 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..08ddf133d2087012f4d9f5b9fc7ebff734f60c39 100644
--- a/ios/chrome/common/physical_web/physical_web_scanner.h
+++ b/ios/chrome/common/physical_web/physical_web_scanner.h
@@ -7,7 +7,9 @@
#import <Foundation/Foundation.h>
-@class PhysicalWebDevice;
+#include <memory>
+
+#include "base/values.h"
@protocol PhysicalWebScannerDelegate;
@@ -43,6 +45,9 @@
// Returns a list of physical web devices (PhysicalWebDevice).
- (NSArray*)devices;
+// Returns the metadata for all resolved physical web URLs.
+- (std::unique_ptr<base::ListValue>)metadata;
+
@end
@protocol PhysicalWebScannerDelegate<NSObject>

Powered by Google App Engine
This is Rietveld 408576698