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

Side by Side Diff: chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.h

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renamed 'bluetooth' target to 'device_bluetooth'. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
7 7
8 #if defined(OS_CHROMEOS)
9
10 #include "base/values.h" 8 #include "base/values.h"
11 #include "chrome/browser/chromeos/bluetooth/bluetooth_device.h"
12 #include "chrome/common/extensions/api/experimental_bluetooth.h" 9 #include "chrome/common/extensions/api/experimental_bluetooth.h"
10 #include "device/bluetooth/bluetooth_device.h"
13 11
14 namespace extensions { 12 namespace extensions {
15 namespace api { 13 namespace api {
16 namespace experimental_bluetooth { 14 namespace experimental_bluetooth {
17 15
18 // Fill in a Device object from a chromeos::BluetoothDevice. 16 // Fill in a Device object from a BluetoothDevice.
19 void BluetoothDeviceToApiDevice( 17 void BluetoothDeviceToApiDevice(
20 const chromeos::BluetoothDevice& device, 18 const device::BluetoothDevice& device,
21 Device* out); 19 Device* out);
22 20
23 // The caller takes ownership of the returned pointer. 21 // The caller takes ownership of the returned pointer.
24 base::Value* BluetoothDeviceToValue(const chromeos::BluetoothDevice& device); 22 base::Value* BluetoothDeviceToValue(
23 const device::BluetoothDevice& device);
25 24
26 } // namespace experimental_bluetooth 25 } // namespace experimental_bluetooth
27 } // namespace api 26 } // namespace api
28 } // namespace extensions 27 } // namespace extensions
29 28
30 #endif
31
32 #endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_ 29 #endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698