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

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

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_
7 7
8 #include <stdint.h>
9
8 #include <map> 10 #include <map>
9 #include <string> 11 #include <string>
10 #include <vector> 12 #include <vector>
11 13
12 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
15 #include "base/observer_list.h" 18 #include "base/observer_list.h"
16 #include "device/bluetooth/bluetooth_export.h" 19 #include "device/bluetooth/bluetooth_export.h"
17 20
18 namespace device { 21 namespace device {
19 22
20 // BluetoothAdvertisement represents an advertisement which advertises over the 23 // BluetoothAdvertisement represents an advertisement which advertises over the
21 // LE channel during its lifetime. 24 // LE channel during its lifetime.
22 class DEVICE_BLUETOOTH_EXPORT BluetoothAdvertisement 25 class DEVICE_BLUETOOTH_EXPORT BluetoothAdvertisement
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // |observers_| are expected to outlive a BluetoothAdvertisement object. 131 // |observers_| are expected to outlive a BluetoothAdvertisement object.
129 base::ObserverList<BluetoothAdvertisement::Observer> observers_; 132 base::ObserverList<BluetoothAdvertisement::Observer> observers_;
130 133
131 private: 134 private:
132 DISALLOW_COPY_AND_ASSIGN(BluetoothAdvertisement); 135 DISALLOW_COPY_AND_ASSIGN(BluetoothAdvertisement);
133 }; 136 };
134 137
135 } // namespace device 138 } // namespace device
136 139
137 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_ 140 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter_win.h ('k') | device/bluetooth/bluetooth_advertisement_bluez_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698