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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 2335023002: Adding a previews IO-thread blacklist (Closed)
Patch Set: tbansal comments Created 4 years, 3 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
« no previous file with comments | « no previous file | components/previews/core/BUILD.gn » ('j') | components/previews/core/previews_black_list.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index 9865b76f3cbfddfb260de20402a2009925771087..bc8915693721d310efced2b235118b80dfc7e9b1 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -205,21 +205,21 @@ void ProfileImplIOData::Handle::Init(
profile_->GetRequestContext(), std::move(store),
BrowserThread::GetTaskRunnerForThread(BrowserThread::UI),
db_task_runner);
io_data_->set_previews_io_data(base::MakeUnique<previews::PreviewsIOData>(
BrowserThread::GetTaskRunnerForThread(BrowserThread::UI),
BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)));
PreviewsServiceFactory::GetForProfile(profile_)->set_previews_ui_service(
base::MakeUnique<previews::PreviewsUIService>(
io_data_->previews_io_data(),
- BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO), nullptr));
}
content::ResourceContext*
ProfileImplIOData::Handle::GetResourceContext() const {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
LazyInitialize();
return GetResourceContextNoInit();
}
content::ResourceContext*
« no previous file with comments | « no previous file | components/previews/core/BUILD.gn » ('j') | components/previews/core/previews_black_list.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698