Add ICU message format support
[chromium-blink-merge.git] / extensions / browser / api / bluetooth / bluetooth_api_utils.h
bloba58eb42de236b8fb0a17f186143a63ca0190f130
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.
5 #ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
8 #include "base/values.h"
9 #include "device/bluetooth/bluetooth_adapter.h"
10 #include "device/bluetooth/bluetooth_device.h"
11 #include "extensions/common/api/bluetooth.h"
13 namespace extensions {
14 namespace api {
15 namespace bluetooth {
17 // Fill in a Device object from a BluetoothDevice.
18 void BluetoothDeviceToApiDevice(
19 const device::BluetoothDevice& device,
20 Device* out);
22 // Fill in an AdapterState object from a BluetoothAdapter.
23 void PopulateAdapterState(const device::BluetoothAdapter& adapter,
24 AdapterState* out);
26 } // namespace bluetooth
27 } // namespace api
28 } // namespace extensions
30 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_