summaryrefslogtreecommitdiffstats
path: root/base/debug/proc_maps_linux_unittest.cc
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-24 00:20:28 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-24 08:21:37 +0000
commitebe805c971bd41b5666c52adfc83ceabb5bde0ed (patch)
treebae760af1dfa7e344a0b4f815cb4d5bf098aa675 /base/debug/proc_maps_linux_unittest.cc
parent8e1829aec0dfd6b84e2249355b4aea68a9193b43 (diff)
downloadchromium_src-ebe805c971bd41b5666c52adfc83ceabb5bde0ed.zip
chromium_src-ebe805c971bd41b5666c52adfc83ceabb5bde0ed.tar.gz
chromium_src-ebe805c971bd41b5666c52adfc83ceabb5bde0ed.tar.bz2
Switch to standard integer types in base/debug/.
BUG=138542 TBR=mark@chromium.org NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1549043002 Cr-Commit-Position: refs/heads/master@{#366815}
Diffstat (limited to 'base/debug/proc_maps_linux_unittest.cc')
-rw-r--r--base/debug/proc_maps_linux_unittest.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/base/debug/proc_maps_linux_unittest.cc b/base/debug/proc_maps_linux_unittest.cc
index cbc0dd0..2e35ca6 100644
--- a/base/debug/proc_maps_linux_unittest.cc
+++ b/base/debug/proc_maps_linux_unittest.cc
@@ -2,12 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/debug/proc_maps_linux.h"
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/path_service.h"
#include "base/strings/stringprintf.h"
#include "base/third_party/dynamic_annotations/dynamic_annotations.h"
#include "base/threading/platform_thread.h"
+#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
@@ -142,7 +147,7 @@ TEST(ProcMapsTest, Multiple) {
TEST(ProcMapsTest, Permissions) {
static struct {
const char* input;
- uint8 permissions;
+ uint8_t permissions;
} kTestCases[] = {
{"00400000-0040b000 ---s 00000000 fc:00 794418 /bin/cat\n", 0},
{"00400000-0040b000 ---S 00000000 fc:00 794418 /bin/cat\n", 0},