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

Unified Diff: trunk/src/chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc

Issue 224763003: Revert 261566 "device/bluetooth: Rename device::bluetooth_utils:..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
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);

Powered by Google App Engine
This is Rietveld 408576698