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

Unified Diff: ash/common/system/chromeos/bluetooth/tray_bluetooth_helper_unittest.cc

Issue 2764643003: cros: Move TrayBluetoothHelper out of chrome into ash (Closed)
Patch Set: rebase fix 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
Index: ash/common/system/chromeos/bluetooth/tray_bluetooth_helper_unittest.cc
diff --git a/chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc b/ash/common/system/chromeos/bluetooth/tray_bluetooth_helper_unittest.cc
similarity index 90%
rename from chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc
rename to ash/common/system/chromeos/bluetooth/tray_bluetooth_helper_unittest.cc
index f0a47b0a485a28ca007c9bd886c532a24d65458d..77f4b662494429f5d73db9fd7fdb3b48a7c9cb87 100644
--- a/chrome/browser/ui/ash/tray_bluetooth_helper_unittest.cc
+++ b/ash/common/system/chromeos/bluetooth/tray_bluetooth_helper_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/ash/tray_bluetooth_helper.h"
+#include "ash/common/system/chromeos/bluetooth/tray_bluetooth_helper.h"
#include <vector>
@@ -14,7 +14,10 @@
using bluez::BluezDBusManager;
using bluez::FakeBluetoothAdapterClient;
-using TrayBluetoothHelperTest = ash::test::AshTestBase;
+namespace ash {
+namespace {
+
+using TrayBluetoothHelperTest = test::AshTestBase;
// Tests basic functionality like turning Bluetooth on and off.
TEST_F(TrayBluetoothHelperTest, Basics) {
@@ -58,3 +61,6 @@ TEST_F(TrayBluetoothHelperTest, Basics) {
RunAllPendingInMessageLoop();
EXPECT_FALSE(helper.GetEnabled());
}
+
+} // namespace
+} // namespace ash
« no previous file with comments | « ash/common/system/chromeos/bluetooth/tray_bluetooth_helper.cc ('k') | ash/common/system/tray/system_tray_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698