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/ios_chrome_physical_web_data_source.h

Issue 2231983002: Expose Physical Web data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build errors 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/ios_chrome_physical_web_data_source.h
diff --git a/ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.h b/ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.h
index 2960830ff4d23abdcab5d61f1480293c439271fb..1c0c1d425cb978f62e5caef869725b43696959dd 100644
--- a/ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.h
+++ b/ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.h
@@ -12,6 +12,7 @@
namespace base {
class ListValue;
}
+class PhysicalWebListener;
@class PhysicalWebScanner;
@@ -36,6 +37,12 @@ class IOSChromePhysicalWebDataSource : public PhysicalWebDataSource {
// or more discovered URLs that have not been sent to the resolution service.
bool HasUnresolvedDiscoveries() override;
+ // Register for changes to Physical Web URLs and associated page metadata.
+ void RegisterListener(PhysicalWebListener* physical_web_listener) override;
+
+ // Unregister for changes to Physical Web URLs and associated page metadata.
+ void UnregisterListener(PhysicalWebListener* physical_web_listener) override;
+
private:
// Scanner for nearby Physical Web URL devices.
base::scoped_nsobject<PhysicalWebScanner> scanner_;

Powered by Google App Engine
This is Rietveld 408576698