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

Unified Diff: device/bluetooth/bluetooth_profile_chromeos_unittest.cc

Issue 220323004: device/bluetooth: Rename device::bluetooth_utils::UUID to device::BluetoothUUID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initialized |empty_device_| in BluetoothDeviceWinTest. Created 6 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 | « device/bluetooth/bluetooth_profile_chromeos.cc ('k') | device/bluetooth/bluetooth_profile_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_profile_chromeos_unittest.cc
diff --git a/device/bluetooth/bluetooth_profile_chromeos_unittest.cc b/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
index da2f6595c8da3186cb8d274fe4b42da9ed325073..24061b767b6fc922d20852663e9cd1dc1e0ece4a 100644
--- a/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
+++ b/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
@@ -19,6 +19,7 @@
#include "device/bluetooth/bluetooth_profile_chromeos.h"
#include "device/bluetooth/bluetooth_socket.h"
#include "device/bluetooth/bluetooth_socket_chromeos.h"
+#include "device/bluetooth/bluetooth_uuid.h"
#include "net/base/io_buffer.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -26,6 +27,7 @@ using device::BluetoothAdapter;
using device::BluetoothDevice;
using device::BluetoothProfile;
using device::BluetoothSocket;
+using device::BluetoothUUID;
namespace chromeos {
@@ -124,7 +126,7 @@ TEST_F(BluetoothProfileChromeOSTest, L2capEndToEnd) {
// callback.
BluetoothProfile::Options options;
BluetoothProfile::Register(
- FakeBluetoothProfileManagerClient::kL2capUuid,
+ BluetoothUUID(FakeBluetoothProfileManagerClient::kL2capUuid),
options,
base::Bind(&BluetoothProfileChromeOSTest::ProfileCallback,
base::Unretained(this)));
@@ -250,7 +252,7 @@ TEST_F(BluetoothProfileChromeOSTest, RfcommEndToEnd) {
// callback.
BluetoothProfile::Options options;
BluetoothProfile::Register(
- FakeBluetoothProfileManagerClient::kRfcommUuid,
+ BluetoothUUID(FakeBluetoothProfileManagerClient::kRfcommUuid),
options,
base::Bind(&BluetoothProfileChromeOSTest::ProfileCallback,
base::Unretained(this)));
« no previous file with comments | « device/bluetooth/bluetooth_profile_chromeos.cc ('k') | device/bluetooth/bluetooth_profile_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698