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

Unified Diff: trunk/src/device/bluetooth/bluetooth_device.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/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() {
}
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_device.h ('k') | trunk/src/device/bluetooth/bluetooth_device_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698