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

Unified Diff: base/android/library_loader/library_prefetcher_unittest.cc

Issue 1543293003: Switch to standard integer types in base/android/. (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
« no previous file with comments | « base/android/library_loader/library_prefetcher.cc ('k') | base/android/linker/legacy_linker_jni.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/library_loader/library_prefetcher_unittest.cc
diff --git a/base/android/library_loader/library_prefetcher_unittest.cc b/base/android/library_loader/library_prefetcher_unittest.cc
index 633058abb43212ba657e9343ef2c73412b6705e1..f0a6ffe733eba1a93b0879f82e2fbafaa635745c 100644
--- a/base/android/library_loader/library_prefetcher_unittest.cc
+++ b/base/android/library_loader/library_prefetcher_unittest.cc
@@ -4,6 +4,8 @@
#include "base/android/library_loader/library_prefetcher.h"
+#include <stddef.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <string>
#include <vector>
@@ -15,11 +17,11 @@ namespace base {
namespace android {
namespace {
-const uint8 kRead = base::debug::MappedMemoryRegion::READ;
-const uint8 kReadPrivate = base::debug::MappedMemoryRegion::READ |
- base::debug::MappedMemoryRegion::PRIVATE;
-const uint8 kExecutePrivate = base::debug::MappedMemoryRegion::EXECUTE |
- base::debug::MappedMemoryRegion::PRIVATE;
+const uint8_t kRead = base::debug::MappedMemoryRegion::READ;
+const uint8_t kReadPrivate = base::debug::MappedMemoryRegion::READ |
+ base::debug::MappedMemoryRegion::PRIVATE;
+const uint8_t kExecutePrivate = base::debug::MappedMemoryRegion::EXECUTE |
+ base::debug::MappedMemoryRegion::PRIVATE;
const size_t kPageSize = 4096;
} // namespace
« no previous file with comments | « base/android/library_loader/library_prefetcher.cc ('k') | base/android/linker/legacy_linker_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698