Index: device/bluetooth/bluetooth_service_record_unittest.cc |
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_service_record_unittest.cc b/device/bluetooth/bluetooth_service_record_unittest.cc |
similarity index 88% |
rename from chrome/browser/chromeos/bluetooth/bluetooth_service_record_unittest.cc |
rename to device/bluetooth/bluetooth_service_record_unittest.cc |
index 11bcd98f1fac7025f8155caab85c541b8da2c1e8..694e44150003796e849cf1e19b6d5ba5fc6edab9 100644 |
--- a/chrome/browser/chromeos/bluetooth/bluetooth_service_record_unittest.cc |
+++ b/device/bluetooth/bluetooth_service_record_unittest.cc |
@@ -4,11 +4,11 @@ |
#include <string> |
+#include "base/base_paths.h" |
#include "base/file_path.h" |
#include "base/file_util.h" |
#include "base/path_service.h" |
-#include "chrome/browser/chromeos/bluetooth/bluetooth_service_record.h" |
-#include "chrome/common/chrome_paths.h" |
+#include "device/bluetooth/bluetooth_service_record.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace { |
@@ -19,15 +19,16 @@ static const char* kSerialUuid = "00001101-0000-1000-8000-00805f9b34fb"; |
} // namespace |
-namespace chromeos { |
+namespace bluetooth { |
class BluetoothServiceRecordTest : public testing::Test { |
public: |
FilePath GetTestDataFilePath(const char* file) { |
FilePath path; |
- PathService::Get(chrome::DIR_TEST_DATA, &path); |
- path = path.AppendASCII("chromeos"); |
- path = path.AppendASCII("bluetooth"); |
+ PathService::Get(base::DIR_SOURCE_ROOT, &path); |
+ path = path.AppendASCII("device"); |
+ path = path.AppendASCII("test"); |
+ path = path.AppendASCII("data"); |
path = path.AppendASCII(file); |
return path; |
} |
@@ -72,4 +73,4 @@ TEST_F(BluetoothServiceRecordTest, CleanUuid) { |
EXPECT_EQ("", invalid_service_record.uuid()); |
} |
-} // namespace chromeos |
+} // namespace bluetooth |