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

Side by Side Diff: device/bluetooth/bluetooth_task_manager_win_unittest.cc

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
« no previous file with comments | « device/bluetooth/bluetooth_task_manager_win.cc ('k') | device/bluetooth/bluetooth_uuid.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <stddef.h>
6
5 #include "base/bind.h" 7 #include "base/bind.h"
6 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
7 #include "base/test/test_pending_task.h" 9 #include "base/test/test_pending_task.h"
8 #include "base/test/test_simple_task_runner.h" 10 #include "base/test/test_simple_task_runner.h"
9 #include "device/bluetooth/bluetooth_init_win.h" 11 #include "device/bluetooth/bluetooth_init_win.h"
10 #include "device/bluetooth/bluetooth_task_manager_win.h" 12 #include "device/bluetooth/bluetooth_task_manager_win.h"
11 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
12 14
13 namespace { 15 namespace {
14 16
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 bluetooth_task_runner_->RunPendingTasks(); 129 bluetooth_task_runner_->RunPendingTasks();
128 ui_task_runner_->RunPendingTasks(); 130 ui_task_runner_->RunPendingTasks();
129 EXPECT_EQ(1, observer_.num_discovery_started()); 131 EXPECT_EQ(1, observer_.num_discovery_started());
130 task_manager_->PostStopDiscoveryTask(); 132 task_manager_->PostStopDiscoveryTask();
131 bluetooth_task_runner_->RunPendingTasks(); 133 bluetooth_task_runner_->RunPendingTasks();
132 ui_task_runner_->RunPendingTasks(); 134 ui_task_runner_->RunPendingTasks();
133 EXPECT_EQ(1, observer_.num_discovery_stopped()); 135 EXPECT_EQ(1, observer_.num_discovery_stopped());
134 } 136 }
135 137
136 } // namespace device 138 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_task_manager_win.cc ('k') | device/bluetooth/bluetooth_uuid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698