Index: ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h |
diff --git a/ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h b/ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h |
index 40d0ebb021f5a4785bc4d56fe57fbd5413ff1946..20d0756be93f50d4f6b343177532f3fc542a4a93 100644 |
--- a/ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h |
+++ b/ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h |
@@ -12,14 +12,16 @@ |
namespace base { |
class ListValue; |
} |
+class PrefService; |
@class PhysicalWebScanner; |
+@class PhysicalWebInitialStateRecorder; |
// iOS implementation of PhysicalWebDataSource |
class IOSChromePhysicalWebDataSource |
: public physical_web::PhysicalWebDataSourceImpl { |
public: |
- IOSChromePhysicalWebDataSource(); |
+ IOSChromePhysicalWebDataSource(PrefService* pref_service); |
~IOSChromePhysicalWebDataSource() override; |
// Starts scanning for Physical Web URLs. If |network_request_enabled| is |
@@ -41,6 +43,9 @@ class IOSChromePhysicalWebDataSource |
// Scanner for nearby Physical Web URL devices. |
base::scoped_nsobject<PhysicalWebScanner> scanner_; |
+ // Utility for fetching initial application state for logging purposes. |
+ base::scoped_nsobject<PhysicalWebInitialStateRecorder> initialStateRecorder_; |
+ |
DISALLOW_COPY_AND_ASSIGN(IOSChromePhysicalWebDataSource); |
}; |