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

Side by Side Diff: device/bluetooth/test/bluetooth_test_win.h

Issue 2627863002: Split Closure part of TestPendingTask out of the struct (Closed)
Patch Set: rebase Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 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 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_BLUETOOTH_TEST_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_WIN_H_
6 #define DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_WIN_H_ 6 #define DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_WIN_H_
7 7
8 #include "device/bluetooth/test/bluetooth_test.h" 8 #include "device/bluetooth/test/bluetooth_test.h"
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/test/test_pending_task.h"
12 #include "base/test/test_simple_task_runner.h" 11 #include "base/test/test_simple_task_runner.h"
13 #include "device/bluetooth/bluetooth_classic_win_fake.h" 12 #include "device/bluetooth/bluetooth_classic_win_fake.h"
14 #include "device/bluetooth/bluetooth_low_energy_win_fake.h" 13 #include "device/bluetooth/bluetooth_low_energy_win_fake.h"
15 #include "device/bluetooth/bluetooth_task_manager_win.h" 14 #include "device/bluetooth/bluetooth_task_manager_win.h"
16 15
17 namespace device { 16 namespace device {
18 class BluetoothAdapterWin; 17 class BluetoothAdapterWin;
19 18
20 // Windows implementation of BluetoothTestBase. 19 // Windows implementation of BluetoothTestBase.
21 class BluetoothTestWin : public BluetoothTestBase, 20 class BluetoothTestWin : public BluetoothTestBase,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void ForceRefreshDevice(); 94 void ForceRefreshDevice();
96 void FinishPendingTasks(); 95 void FinishPendingTasks();
97 }; 96 };
98 97
99 // Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName). 98 // Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName).
100 typedef BluetoothTestWin BluetoothTest; 99 typedef BluetoothTestWin BluetoothTest;
101 100
102 } // namespace device 101 } // namespace device
103 102
104 #endif // DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_WIN_H_ 103 #endif // DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_task_manager_win_unittest.cc ('k') | device/bluetooth/test/bluetooth_test_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698