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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index f21f0e1e7debaff36762bea33456547f7945b084..ee672fd154fd8d107d3c1b2fe0e585cb38fdbaef 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -385,8 +385,7 @@ BaseScreen* WizardController::CreateScreen(const std::string& screen_name) {
if (!remora_controller_) {
remora_controller_.reset(
new pairing_chromeos::BluetoothHostPairingController(
- BrowserThread::GetMessageLoopProxyForThread(
- BrowserThread::FILE)));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE)));
remora_controller_->StartPairing();
}
return new HostPairingScreen(this, this,
@@ -1354,7 +1353,7 @@ void WizardController::MaybeStartListeningForSharkConnection() {
if (!shark_connection_listener_) {
shark_connection_listener_.reset(
new pairing_chromeos::SharkConnectionListener(
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE),
base::Bind(&WizardController::OnSharkConnected,
weak_factory_.GetWeakPtr())));
}

Powered by Google App Engine
This is Rietveld 408576698