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

Unified Diff: base/i18n/icu_util.h

Issue 1542323002: Switch to standard integer types in base/i18n/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: header 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/i18n/icu_string_conversions_unittest.cc ('k') | base/i18n/icu_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/icu_util.h
diff --git a/base/i18n/icu_util.h b/base/i18n/icu_util.h
index ec24426717096de792d21342b44769561424619c..3d412b6389176370f4739b8fc15a0e488992bce7 100644
--- a/base/i18n/icu_util.h
+++ b/base/i18n/icu_util.h
@@ -5,6 +5,8 @@
#ifndef BASE_I18N_ICU_UTIL_H_
#define BASE_I18N_ICU_UTIL_H_
+#include <stdint.h>
+
#include "base/files/memory_mapped_file.h"
#include "base/i18n/base_i18n_export.h"
#include "build/build_config.h"
@@ -38,7 +40,7 @@ BASE_I18N_EXPORT bool InitializeICUWithFileDescriptor(
// different binaries in the same address space. This returns an unowned
// pointer to the memory mapped icu data file; consumers copies of base must
// not outlive the copy of base that owns the memory mapped file.
-BASE_I18N_EXPORT const uint8* GetRawIcuMemory();
+BASE_I18N_EXPORT const uint8_t* GetRawIcuMemory();
// Initializes ICU memory
//
@@ -48,7 +50,7 @@ BASE_I18N_EXPORT const uint8* GetRawIcuMemory();
// of base linked in, and the majority of mojo applications will have base
// linked in but in non-component builds, these will be separate copies of
// base.)
-BASE_I18N_EXPORT bool InitializeICUFromRawMemory(const uint8* raw_memory);
+BASE_I18N_EXPORT bool InitializeICUFromRawMemory(const uint8_t* raw_memory);
#endif // ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_FILE
#endif // !defined(OS_NACL)
« no previous file with comments | « base/i18n/icu_string_conversions_unittest.cc ('k') | base/i18n/icu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698