| Index: trunk/src/chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc (revision 261569)
|
| +++ trunk/src/chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc (working copy)
|
| @@ -16,7 +16,6 @@
|
| #include "chrome/test/base/testing_profile.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/test/test_browser_thread.h"
|
| -#include "device/bluetooth/bluetooth_uuid.h"
|
| #include "device/bluetooth/test/mock_bluetooth_adapter.h"
|
| #include "device/bluetooth/test/mock_bluetooth_device.h"
|
| #include "device/bluetooth/test/mock_bluetooth_profile.h"
|
| @@ -29,8 +28,8 @@
|
| namespace {
|
|
|
| const char kTestExtensionId[] = "test extension id";
|
| -const device::BluetoothUUID kAudioProfileUuid("1234");
|
| -const device::BluetoothUUID kHealthProfileUuid("4321");
|
| +const char kAudioProfileUuid[] = "audio profile uuid";
|
| +const char kHealthProfileUuid[] = "health profile uuid";
|
|
|
| class FakeEventRouter : public extensions::EventRouter {
|
| public:
|
| @@ -222,7 +221,7 @@
|
| ASSERT_TRUE(socket_value->GetDictionary("profile", &profile_value));
|
| std::string uuid;
|
| ASSERT_TRUE(profile_value->GetString("uuid", &uuid));
|
| - EXPECT_STREQ(kAudioProfileUuid.canonical_value().c_str(), uuid.c_str());
|
| + EXPECT_STREQ(kAudioProfileUuid, uuid.c_str());
|
|
|
| EXPECT_CALL(*mock_adapter_, RemoveObserver(testing::_)).Times(1);
|
| router_.ReleaseSocket(socket_id);
|
|
|