Chromium Code Reviews| 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..671fe6a63e3c1ae175c7ef166a8061c2f890e87f 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 |
| @@ -14,6 +14,7 @@ class ListValue; |
| } |
| @class PhysicalWebScanner; |
| +@class PhysicalWebListener; |
|
mattreynolds
2016/08/23 19:33:42
This forward declaration should just be "class Phy
hayesjordan
2016/08/23 19:36:20
Done.
|
| // iOS implementation of PhysicalWebDataSource |
| class IOSChromePhysicalWebDataSource : public PhysicalWebDataSource { |
| @@ -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_; |