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

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

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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
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 EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_ 5 #ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_ 6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "device/bluetooth/bluetooth_adapter.h" 9 #include "device/bluetooth/bluetooth_adapter.h"
10 #include "device/bluetooth/bluetooth_device.h" 10 #include "device/bluetooth/bluetooth_device.h"
11 #include "extensions/common/api/bluetooth.h" 11 #include "extensions/common/api/bluetooth.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 namespace core_api { 14 namespace api {
15 namespace bluetooth { 15 namespace bluetooth {
16 16
17 // Fill in a Device object from a BluetoothDevice. 17 // Fill in a Device object from a BluetoothDevice.
18 void BluetoothDeviceToApiDevice( 18 void BluetoothDeviceToApiDevice(
19 const device::BluetoothDevice& device, 19 const device::BluetoothDevice& device,
20 Device* out); 20 Device* out);
21 21
22 // Fill in an AdapterState object from a BluetoothAdapter. 22 // Fill in an AdapterState object from a BluetoothAdapter.
23 void PopulateAdapterState(const device::BluetoothAdapter& adapter, 23 void PopulateAdapterState(const device::BluetoothAdapter& adapter,
24 AdapterState* out); 24 AdapterState* out);
25 25
26 } // namespace bluetooth 26 } // namespace bluetooth
27 } // namespace core_api 27 } // namespace api
28 } // namespace extensions 28 } // namespace extensions
29 29
30 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_ 30 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698