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

Unified Diff: chrome/common/local_discovery/local_domain_resolver_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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/common/local_discovery/local_domain_resolver_unittest.cc
diff --git a/chrome/common/local_discovery/local_domain_resolver_unittest.cc b/chrome/common/local_discovery/local_domain_resolver_unittest.cc
index f34ff2db7d4d52f78ffe005eb3ec5c6786a20dd2..b5c844844cfcb14cf4381a1f09dd88b04e79782e 100644
--- a/chrome/common/local_discovery/local_domain_resolver_unittest.cc
+++ b/chrome/common/local_discovery/local_domain_resolver_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdint.h>
+
#include "base/location.h"
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
@@ -17,7 +19,7 @@ namespace local_discovery {
namespace {
-const uint8 kSamplePacketA[] = {
+const uint8_t kSamplePacketA[] = {
// Header
0x00, 0x00, // ID is zeroed out
0x81, 0x80, // Standard query response, RA, no error
@@ -38,7 +40,7 @@ const uint8 kSamplePacketA[] = {
0x03, 0x04,
};
-const uint8 kSamplePacketAAAA[] = {
+const uint8_t kSamplePacketAAAA[] = {
// Header
0x00, 0x00, // ID is zeroed out
0x81, 0x80, // Standard query response, RA, no error
« no previous file with comments | « chrome/common/local_discovery/local_discovery_messages.h ('k') | chrome/common/local_discovery/service_discovery_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698