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

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

Issue 2413923002: Enable lost URL detection in the Physical Web scanner (Closed)
Patch Set: fixes Created 4 years, 2 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 c147bc29bca7b3785ab8b5817e0fec4374e99c7b..8873f3bf23535af4f0ffdf76930ed982b6a99c9f 100644
--- a/ios/chrome/common/physical_web/physical_web_scanner.h
+++ b/ios/chrome/common/physical_web/physical_web_scanner.h
@@ -19,6 +19,11 @@ class ListValue;
@interface PhysicalWebScanner : NSObject
+// When onLostDetectionEnabled is YES, the delegate will be notified if a URL
+// that was previously nearby is no longer detected. Changing this value while
+// scanning is active will reset the list of nearby URLs.
+@property(nonatomic, assign) BOOL onLostDetectionEnabled;
+
// When networkRequest is NO, no network request will be sent.
@property(nonatomic, assign) BOOL networkRequestEnabled;
« no previous file with comments | « ios/chrome/common/physical_web/physical_web_request.mm ('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