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

Side by Side Diff: device/bluetooth/test/bluetooth_test_mac.mm

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 #include "device/bluetooth/test/bluetooth_test_mac.h" 5 #include "device/bluetooth/test/bluetooth_test_mac.h"
6 6
7 #include <stdint.h>
8
7 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "build/build_config.h"
8 #include "device/bluetooth/bluetooth_adapter_mac.h" 11 #include "device/bluetooth/bluetooth_adapter_mac.h"
9 #include "device/bluetooth/test/mock_bluetooth_central_manager_mac.h" 12 #include "device/bluetooth/test/mock_bluetooth_central_manager_mac.h"
10 #include "device/bluetooth/test/test_bluetooth_adapter_observer.h" 13 #include "device/bluetooth/test/test_bluetooth_adapter_observer.h"
11 #include "third_party/ocmock/OCMock/OCMock.h" 14 #include "third_party/ocmock/OCMock/OCMock.h"
12 15
13 #if defined(OS_IOS) 16 #if defined(OS_IOS)
14 #import <CoreBluetooth/CoreBluetooth.h> 17 #import <CoreBluetooth/CoreBluetooth.h>
15 #else // !defined(OS_IOS) 18 #else // !defined(OS_IOS)
16 #import <IOBluetooth/IOBluetooth.h> 19 #import <IOBluetooth/IOBluetooth.h>
17 #endif // defined(OS_IOS) 20 #endif // defined(OS_IOS)
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // crypto::SHA256HashString(input_str, raw, sizeof(raw)); 209 // crypto::SHA256HashString(input_str, raw, sizeof(raw));
207 // if (base::HexEncode(raw, sizeof(raw)) == target) { 210 // if (base::HexEncode(raw, sizeof(raw)) == target) {
208 // return input_str; 211 // return input_str;
209 // } 212 // }
210 // ++input[0]; 213 // ++input[0];
211 // } 214 // }
212 // return ""; 215 // return "";
213 // } 216 // }
214 217
215 } // namespace device 218 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/test/bluetooth_test_android.cc ('k') | device/bluetooth/test/mock_bluetooth_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698