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

Unified Diff: device/bluetooth/bluetooth_service_record_unittest.cc

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added IsBluetoothSupported() in bluetooth_api.cc Created 8 years, 2 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: 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

Powered by Google App Engine
This is Rietveld 408576698