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 1c0c1d425cb978f62e5caef869725b43696959dd..3f307ddcb3a89cc59ae61fce91d90db11cb7f13a 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 |
| @@ -7,7 +7,7 @@ |
| #include "base/macros.h" |
| #import "base/mac/scoped_nsobject.h" |
| -#include "components/physical_web/data_source/physical_web_data_source.h" |
| +#include "components/physical_web/data_source/physical_web_data_source_impl.h" |
| namespace base { |
| class ListValue; |
| @@ -17,7 +17,8 @@ class PhysicalWebListener; |
| @class PhysicalWebScanner; |
| // iOS implementation of PhysicalWebDataSource |
| -class IOSChromePhysicalWebDataSource : public PhysicalWebDataSource { |
| +class IOSChromePhysicalWebDataSource |
| + : public PhysicalWebDataSourceWithListener { |
|
cco3
2016/09/20 22:11:33
Update
hayesjordan
2016/09/20 22:21:47
Done.
|
| public: |
| IOSChromePhysicalWebDataSource(); |
| ~IOSChromePhysicalWebDataSource() override; |
| @@ -37,12 +38,6 @@ 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_; |