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

Unified Diff: components/physical_web/data_source/physical_web_data_source.h

Issue 2231983002: Expose Physical Web data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address mattreynolds comments 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: components/physical_web/data_source/physical_web_data_source.h
diff --git a/components/physical_web/data_source/physical_web_data_source.h b/components/physical_web/data_source/physical_web_data_source.h
index 1fa11407fae736e3333edaa026697b54c9d1a824..f19a464f9379e956d67427c1d080d38239bff55b 100644
--- a/components/physical_web/data_source/physical_web_data_source.h
+++ b/components/physical_web/data_source/physical_web_data_source.h
@@ -7,6 +7,8 @@
#include <memory>
+#include physical_web_listener.h
Olivier 2016/08/22 07:45:09 All include path must be full path starting from s
hayesjordan 2016/08/22 17:06:21 Done.
+
namespace base {
class ListValue;
}
@@ -35,6 +37,9 @@ class PhysicalWebDataSource {
// If discovery is inactive or network requests are enabled, it will always
// return false.
virtual bool HasUnresolvedDiscoveries() = 0;
+
+ // Register for changes to Physical Web URLs and associated page metadata.
+ virtual void RegisterListener(PhysicalWebListener* physical_web_listener) = 0;
Olivier 2016/08/22 07:45:09 Please add UnregisterListener (or similar).
hayesjordan 2016/08/22 17:06:21 Done.
};
#endif // COMPONENTS_PHYSICAL_WEB_DATA_SOURCE_PHYSICAL_WEB_DATA_SOURCE_H_

Powered by Google App Engine
This is Rietveld 408576698