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

Unified Diff: ios/chrome/browser/application_context_impl.cc

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/application_context_impl.cc
diff --git a/ios/chrome/browser/application_context_impl.cc b/ios/chrome/browser/application_context_impl.cc
index 2eae61e4fb1a2f9a83b84efc5a1cdb5ebe159a78..391217d152146ee70b9394624de904cd8c4eaf51 100644
--- a/ios/chrome/browser/application_context_impl.cc
+++ b/ios/chrome/browser/application_context_impl.cc
@@ -289,7 +289,8 @@ CRLSetFetcher* ApplicationContextImpl::GetCRLSetFetcher() {
PhysicalWebDataSource* ApplicationContextImpl::GetPhysicalWebDataSource() {
DCHECK(thread_checker_.CalledOnValidThread());
if (!physical_web_data_source_) {
- physical_web_data_source_ = CreateIOSChromePhysicalWebDataSource();
+ physical_web_data_source_ =
+ CreateIOSChromePhysicalWebDataSource(GetLocalState());
DCHECK(physical_web_data_source_);
}
return physical_web_data_source_.get();

Powered by Google App Engine
This is Rietveld 408576698