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

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

Issue 2937253003: cros: Replace BrowserThread::FILE in InputServiceProxy (Closed)
Patch Set: update dependent code to fix tests 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/bluetooth_host_pairing_browsertest.cc
diff --git a/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc b/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc
index f86c942311dd625619be3cdb9ba3aab3e14ae292..c662be27af8e349bf4e5f3337b1154ce102623b6 100644
--- a/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc
+++ b/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc
@@ -67,7 +67,7 @@ class BluetoothHostPairingNoInputTest : public OobeBaseTest {
using InputDeviceInfo = device::InputServiceLinux::InputDeviceInfo;
BluetoothHostPairingNoInputTest() {
- InputServiceProxy::SetThreadIdForTesting(content::BrowserThread::UI);
+ InputServiceProxy::SetUseUIThreadForTesting(true);
achuithb 2017/06/19 22:34:42 Do you know why we use the UI thread here (and in
xiyuan 2017/06/19 23:00:26 I did not look closely. Think it makes it easier t
achuithb 2017/06/20 08:36:48 Ok, I'm just wondering if we can get away from usi
device::InputServiceLinux::SetForTesting(
base::MakeUnique<device::FakeInputServiceLinux>());

Powered by Google App Engine
This is Rietveld 408576698