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

Unified Diff: chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm
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 ccb10856674e990e14c88c2cb8c5f0f9833a4bd9..20c6dc7b81ad612ffbb22a16bb324a200d67963d 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)]]);

Powered by Google App Engine
This is Rietveld 408576698