Index: chrome/browser/chromeos/bluetooth/bluetooth_device.cc |
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_device.cc b/chrome/browser/chromeos/bluetooth/bluetooth_device.cc |
index 57e65d5e952fb846ae058ddfe9f75ea96c7b7696..c3758c0b192c431e84e5389409e9cdc59015cd0e 100644 |
--- a/chrome/browser/chromeos/bluetooth/bluetooth_device.cc |
+++ b/chrome/browser/chromeos/bluetooth/bluetooth_device.cc |
@@ -20,6 +20,7 @@ |
#include "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h" |
#include "chrome/browser/chromeos/bluetooth/bluetooth_service_record.h" |
#include "chrome/browser/chromeos/bluetooth/bluetooth_socket.h" |
+#include "chrome/browser/chromeos/bluetooth/bluetooth_utils.h" |
#include "chrome/common/chrome_switches.h" |
#include "chromeos/dbus/bluetooth_adapter_client.h" |
#include "chromeos/dbus/bluetooth_agent_service_provider.h" |
@@ -195,7 +196,7 @@ bool BluetoothDevice::ProvidesServiceWithUUID(const std::string& uuid) const { |
const BluetoothDevice::ServiceList& services = GetServices(); |
for (BluetoothDevice::ServiceList::const_iterator j = services.begin(); |
j != services.end(); ++j) { |
satorux1
2012/07/24 18:29:21
nit: using 'j' for iterator is unusual. rename it
bryeung
2012/07/24 19:50:09
Done.
|
- if (*j == uuid) |
+ if (bluetooth_utils::CanonicalUuid(*j) == uuid) |
return true; |
} |
return false; |