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

Unified Diff: ios/chrome/browser/physical_web/create_physical_web_data_source.mm

Issue 2458613004: Record the initial state of the Physical Web at startup (Closed)
Patch Set: changes for olivierrobin@, rohitrao@, sdefresne@ Created 4 years, 1 month 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/browser/physical_web/create_physical_web_data_source.mm
diff --git a/ios/chrome/browser/physical_web/create_physical_web_data_source.mm b/ios/chrome/browser/physical_web/create_physical_web_data_source.mm
index 055952ad3d807f9dae6fa0d1a4c488eda6455ce9..3b65720a28e276218895afc916129279f6c332d4 100644
--- a/ios/chrome/browser/physical_web/create_physical_web_data_source.mm
+++ b/ios/chrome/browser/physical_web/create_physical_web_data_source.mm
@@ -5,8 +5,9 @@
#include "ios/chrome/browser/physical_web/create_physical_web_data_source.h"
#include "base/memory/ptr_util.h"
-#import "ios/chrome/common/physical_web/ios_chrome_physical_web_data_source.h"
+#import "ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h"
-std::unique_ptr<PhysicalWebDataSource> CreateIOSChromePhysicalWebDataSource() {
- return base::MakeUnique<IOSChromePhysicalWebDataSource>();
+std::unique_ptr<PhysicalWebDataSource> CreateIOSChromePhysicalWebDataSource(
+ PrefService* prefService) {
+ return base::MakeUnique<IOSChromePhysicalWebDataSource>(prefService);
}

Powered by Google App Engine
This is Rietveld 408576698