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

Side by Side Diff: device/bluetooth/test/mock_bluetooth_gatt_notify_session.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 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TEST_MOCK_BLUETOOTH_GATT_NOTIFY_SESSION_H_ 5 #ifndef DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_GATT_NOTIFY_SESSION_H_
6 #define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_GATT_NOTIFY_SESSION_H_ 6 #define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_GATT_NOTIFY_SESSION_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h"
11 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
12 #include "device/bluetooth/bluetooth_gatt_notify_session.h" 15 #include "device/bluetooth/bluetooth_gatt_notify_session.h"
13 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
14 17
15 namespace device { 18 namespace device {
16 19
17 class MockBluetoothAdapter; 20 class MockBluetoothAdapter;
18 class MockBluetoothGattCharacteristic; 21 class MockBluetoothGattCharacteristic;
19 22
20 class MockBluetoothGattNotifySession : public BluetoothGattNotifySession { 23 class MockBluetoothGattNotifySession : public BluetoothGattNotifySession {
(...skipping 22 matching lines...) Expand all
43 const std::vector<uint8_t>& value); 46 const std::vector<uint8_t>& value);
44 47
45 base::RepeatingTimer test_notifications_timer_; 48 base::RepeatingTimer test_notifications_timer_;
46 49
47 DISALLOW_COPY_AND_ASSIGN(MockBluetoothGattNotifySession); 50 DISALLOW_COPY_AND_ASSIGN(MockBluetoothGattNotifySession);
48 }; 51 };
49 52
50 } // namespace device 53 } // namespace device
51 54
52 #endif // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_GATT_NOTIFY_SESSION_H_ 55 #endif // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_GATT_NOTIFY_SESSION_H_
OLDNEW
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_gatt_descriptor.cc ('k') | device/bluetooth/test/mock_bluetooth_gatt_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698