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

Side by Side Diff: chrome/browser/chromeos/bluetooth/bluetooth_utils.h

Issue 10007008: Add support for creating bluetooth RFCOMM sockets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase diff to exclude extensions code Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_UTILS_H_
7 #pragma once
8
9 #include <string>
10
11 #include <bluetooth/bluetooth.h>
12
13 namespace chromeos {
14 namespace bluetooth_utils {
15
16 // Converts a bluetooth address in the format "B0:D0:9C:0F:3A:2D" into a
17 // bdaddr_t struct. Returns true on success, false on failure. The contents
18 // of |out_address| are zeroed on failure.
19 bool str2ba(const std::string& in_address, bdaddr_t* out_address);
20
21 } // namespace bluetooth_utils
22 } // namespace chromeos
23
24 #endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_UTILS_H_
25
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/bluetooth/bluetooth_socket.cc ('k') | chrome/browser/chromeos/bluetooth/bluetooth_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698