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

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

Issue 2349483002: Implement Physical Web listener registration (Closed)
Patch Set: Fix build error Created 4 years, 3 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 1c0c1d425cb978f62e5caef869725b43696959dd..a21a2a6b7cf9a4ab8060fc6c8c200f0668ef2046 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,7 @@ class PhysicalWebListener;
@class PhysicalWebScanner;
// iOS implementation of PhysicalWebDataSource
-class IOSChromePhysicalWebDataSource : public PhysicalWebDataSource {
+class IOSChromePhysicalWebDataSource : public PhysicalWebDataSourceImpl {
public:
IOSChromePhysicalWebDataSource();
~IOSChromePhysicalWebDataSource() override;
@@ -37,12 +37,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_;

Powered by Google App Engine
This is Rietveld 408576698