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

Side by Side Diff: device/bluetooth/bluetooth_device_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_device_mac.h ('k') | device/bluetooth/bluetooth_device_win.h » ('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 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 #include "device/bluetooth/bluetooth_device.h" 5 #include "device/bluetooth/bluetooth_device.h"
6 6
7 #include <stddef.h>
8
7 #include "base/macros.h" 9 #include "base/macros.h"
8 #include "base/run_loop.h" 10 #include "base/run_loop.h"
9 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "build/build_config.h"
10 #include "device/bluetooth/bluetooth_gatt_service.h" 13 #include "device/bluetooth/bluetooth_gatt_service.h"
11 #include "device/bluetooth/test/test_bluetooth_adapter_observer.h" 14 #include "device/bluetooth/test/test_bluetooth_adapter_observer.h"
12 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
13 16
14 #if defined(OS_ANDROID) 17 #if defined(OS_ANDROID)
15 #include "device/bluetooth/test/bluetooth_test_android.h" 18 #include "device/bluetooth/test/bluetooth_test_android.h"
16 #elif defined(OS_MACOSX) 19 #elif defined(OS_MACOSX)
17 #include "device/bluetooth/test/bluetooth_test_mac.h" 20 #include "device/bluetooth/test/bluetooth_test_mac.h"
18 #endif 21 #endif
19 22
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 ResetEventCounts(); 475 ResetEventCounts();
473 SimulateGattConnection(device); 476 SimulateGattConnection(device);
474 EXPECT_EQ(1, gatt_discovery_attempts_); 477 EXPECT_EQ(1, gatt_discovery_attempts_);
475 478
476 SimulateGattServicesDiscoveryError(device); 479 SimulateGattServicesDiscoveryError(device);
477 EXPECT_EQ(0u, device->GetGattServices().size()); 480 EXPECT_EQ(0u, device->GetGattServices().size());
478 } 481 }
479 #endif // defined(OS_ANDROID) 482 #endif // defined(OS_ANDROID)
480 483
481 } // namespace device 484 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_mac.h ('k') | device/bluetooth/bluetooth_device_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698