Index: trunk/src/device/bluetooth/bluetooth_device.cc |
=================================================================== |
--- trunk/src/device/bluetooth/bluetooth_device.cc (revision 261569) |
+++ trunk/src/device/bluetooth/bluetooth_device.cc (working copy) |
@@ -7,11 +7,17 @@ |
#include <string> |
#include "base/strings/utf_string_conversions.h" |
+#include "device/bluetooth/bluetooth_utils.h" |
#include "grit/device_bluetooth_strings.h" |
#include "ui/base/l10n/l10n_util.h" |
namespace device { |
+// static |
+bool BluetoothDevice::IsUUIDValid(const std::string& uuid) { |
+ return !bluetooth_utils::CanonicalUuid(uuid).empty(); |
+} |
+ |
BluetoothDevice::BluetoothDevice() { |
} |