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

Unified Diff: device/bluetooth/bluetooth_utils.h

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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: device/bluetooth/bluetooth_utils.h
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_utils.h b/device/bluetooth/bluetooth_utils.h
similarity index 76%
rename from chrome/browser/chromeos/bluetooth/bluetooth_utils.h
rename to device/bluetooth/bluetooth_utils.h
index 78f8ff5d85788ecb1211c937256e3b9a299ceb52..36e2d113a65892b37b54fda26b2ea8adfd107867 100644
--- a/chrome/browser/chromeos/bluetooth/bluetooth_utils.h
+++ b/device/bluetooth/bluetooth_utils.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_UTILS_H_
-#define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_UTILS_H_
+#ifndef DEVICE_BLUETOOTH_BLUETOOTH_UTILS_H_
+#define DEVICE_BLUETOOTH_BLUETOOTH_UTILS_H_
#include <string>
#include <bluetooth/bluetooth.h>
-namespace chromeos {
-namespace bluetooth_utils {
+namespace bluetooth {
+namespace utils {
// Converts a bluetooth address in the format "B0:D0:9C:0F:3A:2D" into a
// bdaddr_t struct. Returns true on success, false on failure. The contents
@@ -31,8 +31,8 @@ bool str2ba(const std::string& in_address, bdaddr_t* out_address);
// XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
std::string CanonicalUuid(std::string uuid);
-} // namespace bluetooth_utils
-} // namespace chromeos
+} // namespace utils
+} // namespace bluetooth
-#endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_UTILS_H_
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698