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

Side by Side Diff: device/bluetooth/bluetooth_types.h

Issue 2063353002: device/bluetooth: split out transport enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renaming header, moving TransportMask back into filter Created 4 years, 6 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
(Empty)
1 // Copyright 2016 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 DEVICE_BLUETOOTH_BLUETOOTH_TYPES_H_
ortuno 2016/06/15 18:12:27 optional: IMHO bluetooth_common.h would be better.
6 #define DEVICE_BLUETOOTH_BLUETOOTH_TYPES_H_
7
8 #include "device/bluetooth/bluetooth_export.h"
9
10 namespace device {
11
ortuno 2016/06/15 18:12:27 Add a comment about what goes in this file.
12 enum DEVICE_BLUETOOTH_EXPORT BluetoothTransport {
ortuno 2016/06/15 18:12:27 Make this an enum class and remove the TRANSPORT p
13 TRANSPORT_INVALID = 0x00,
14 // Valid transports are given as a bitset.
15 TRANSPORT_CLASSIC = 0x01,
16 TRANSPORT_LE = 0x02,
17 TRANSPORT_DUAL = (TRANSPORT_CLASSIC | TRANSPORT_LE)
18 };
19
20 } // namespace device
21
22 #endif // DEVICE_BLUETOOTH_BLUETOOTH_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698