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

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

Issue 369703003: Reduce usage of MessageLoopProxy in base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Explicit Created 6 years, 5 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
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 af21c337e34eef02a955aa73bacfbdec58fd2fda..db94e2fbfa22ce5cdf2674174bc8864aab51e24f 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -319,18 +319,18 @@ void ProfileImplIOData::Handle::LazyInitialize() const {
io_data_->http_server_properties_manager_));
io_data_->session_startup_pref()->Init(
prefs::kRestoreOnStartup, pref_service);
- io_data_->session_startup_pref()->MoveToThread(
+ io_data_->session_startup_pref()->MoveToTaskRunner(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
#if defined(FULL_SAFE_BROWSING) || defined(MOBILE_SAFE_BROWSING)
io_data_->safe_browsing_enabled()->Init(prefs::kSafeBrowsingEnabled,
pref_service);
- io_data_->safe_browsing_enabled()->MoveToThread(
+ io_data_->safe_browsing_enabled()->MoveToTaskRunner(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
#endif
#if defined(OS_ANDROID) || defined(OS_IOS)
io_data_->data_reduction_proxy_enabled()->Init(
data_reduction_proxy::prefs::kDataReductionProxyEnabled, pref_service);
- io_data_->data_reduction_proxy_enabled()->MoveToThread(
+ io_data_->data_reduction_proxy_enabled()->MoveToTaskRunner(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
#endif
io_data_->InitializeOnUIThread(profile_);

Powered by Google App Engine
This is Rietveld 408576698