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

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

Issue 2937253003: cros: Replace BrowserThread::FILE in InputServiceProxy (Closed)
Patch Set: rebase Created 3 years, 6 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 f775eefa694336e36a0a0da73e022e63f543ed87..1d2ad4ef32b38df1772c3b9c27715d921a39ad92 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -32,6 +32,7 @@
#include "chrome/browser/chromeos/arc/arc_util.h"
#include "chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h"
#include "chrome/browser/chromeos/customization/customization_document.h"
+#include "chrome/browser/chromeos/device/input_service_proxy.h"
#include "chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen.h"
#include "chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h"
#include "chrome/browser/chromeos/login/enrollment/enrollment_screen.h"
@@ -420,7 +421,7 @@ BaseScreen* WizardController::CreateScreen(OobeScreen screen) {
if (!remora_controller_) {
remora_controller_.reset(
new pairing_chromeos::BluetoothHostPairingController(
- BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE)));
+ InputServiceProxy::GetInputServiceTaskRunner()));
remora_controller_->StartPairing();
}
return new HostPairingScreen(this, this,
@@ -1594,7 +1595,7 @@ void WizardController::MaybeStartListeningForSharkConnection() {
if (!shark_connection_listener_) {
shark_connection_listener_.reset(
new pairing_chromeos::SharkConnectionListener(
- BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE),
+ InputServiceProxy::GetInputServiceTaskRunner(),
base::Bind(&WizardController::OnSharkConnected,
weak_factory_.GetWeakPtr())));
}

Powered by Google App Engine
This is Rietveld 408576698