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

Unified Diff: chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc

Issue 2753313002: cros: Init SystemTrayDelegate earlier to break bluetooth init dependency (Closed)
Patch Set: fix test Created 3 years, 9 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 | « chrome/browser/ui/ash/tray_bluetooth_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc
diff --git a/chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc b/chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc
index 4f52058b08cd3faab31ca13d4420a42e36c1348d..f0a47b0a485a28ca007c9bd886c532a24d65458d 100644
--- a/chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc
+++ b/chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc
@@ -25,7 +25,7 @@ TEST_F(TrayBluetoothHelperTest, Basics) {
BluezDBusManager::Get()->GetBluetoothAdapterClient());
adapter_client->SetSimulationIntervalMs(0);
- TrayBluetoothHelper helper(nullptr);
+ TrayBluetoothHelper helper;
helper.Initialize();
RunAllPendingInMessageLoop();
EXPECT_TRUE(helper.GetAvailable());
« no previous file with comments | « chrome/browser/ui/ash/tray_bluetooth_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698