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

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: rebase, use local state pref Created 4 years 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 8ea22fab5cac578cc24743bd4deb33fa397835a2..5844c61f279685f2c663a68def164f258de8ef48 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
@@ -8,8 +8,6 @@
#import "ios/chrome/browser/physical_web/ios_chrome_physical_web_data_source.h"
std::unique_ptr<physical_web::PhysicalWebDataSource>
-CreateIOSChromePhysicalWebDataSource() {
- std::unique_ptr<physical_web::PhysicalWebDataSource> datasource =
- base::MakeUnique<IOSChromePhysicalWebDataSource>();
- return datasource;
+CreateIOSChromePhysicalWebDataSource(PrefService* prefService) {
+ return base::MakeUnique<IOSChromePhysicalWebDataSource>(prefService);
}

Powered by Google App Engine
This is Rietveld 408576698