summaryrefslogtreecommitdiffstats
path: root/chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-25 17:09:38 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-26 01:10:32 +0000
commit6846aeff59836d8064ad90a934c60829575a970e (patch)
tree81582da159992a636983c3346fc291e5cb6151cb /chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm
parente4d7b6ff9e03d4d0ee39e270bd1ad5ddf0d6af5a (diff)
downloadchromium_src-6846aeff59836d8064ad90a934c60829575a970e.zip
chromium_src-6846aeff59836d8064ad90a934c60829575a970e.tar.gz
chromium_src-6846aeff59836d8064ad90a934c60829575a970e.tar.bz2
Switch to standard integer types in chrome/browser/, part 2 of 4.
BUG=138542 TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1550593002 Cr-Commit-Position: refs/heads/master@{#366879}
Diffstat (limited to 'chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm')
-rw-r--r--chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm b/chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm
index ccb1085..20c6dc7 100644
--- a/chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm
+++ b/chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm
@@ -3,12 +3,14 @@
// found in the LICENSE file.
#import <Cocoa/Cocoa.h>
+#include <stdint.h>
-#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
#include "base/bind.h"
#include "base/mac/scoped_nsobject.h"
+#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "chrome/browser/local_discovery/service_discovery_client_mac.h"
+#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
#include "chrome/common/local_discovery/service_discovery_client.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "net/base/ip_endpoint.h"
@@ -118,7 +120,7 @@ TEST_F(ServiceDiscoveryClientMacTest, ServiceResolver) {
base::Bind(&ServiceDiscoveryClientMacTest::OnResolveComplete,
base::Unretained(this)));
- const uint8 record_bytes[] = { 2, 'a', 'b', 3, 'd', '=', 'e' };
+ const uint8_t record_bytes[] = {2, 'a', 'b', 3, 'd', '=', 'e'};
base::scoped_nsobject<TestNSNetService> test_service([[TestNSNetService alloc]
initWithData:[[NSData alloc] initWithBytes:record_bytes
length:arraysize(record_bytes)]]);