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

Unified Diff: base/i18n/streaming_utf8_validator.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/rtl_unittest.cc ('k') | base/i18n/streaming_utf8_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/streaming_utf8_validator.h
diff --git a/base/i18n/streaming_utf8_validator.h b/base/i18n/streaming_utf8_validator.h
index f10ac721c5462fe147e6c2e9f224595cfd7d69cd..ebf38a69b3ae23e2fd4e373b9b6af0a005dd87ff 100644
--- a/base/i18n/streaming_utf8_validator.h
+++ b/base/i18n/streaming_utf8_validator.h
@@ -11,10 +11,13 @@
#ifndef BASE_I18N_STREAMING_UTF8_VALIDATOR_H_
#define BASE_I18N_STREAMING_UTF8_VALIDATOR_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/i18n/base_i18n_export.h"
+#include "base/macros.h"
namespace base {
@@ -51,7 +54,7 @@ class BASE_I18N_EXPORT StreamingUtf8Validator {
// The current state of the validator. Value 0 is the initial/valid state.
// The state is stored as an offset into |kUtf8ValidatorTables|. The special
// state |kUtf8InvalidState| is invalid.
- uint8 state_;
+ uint8_t state_;
// This type could be made copyable but there is currently no use-case for
// it.
« no previous file with comments | « base/i18n/rtl_unittest.cc ('k') | base/i18n/streaming_utf8_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698