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

Unified Diff: sync/api/string_ordinal.h

Issue 1545553003: Switch to standard integer types in sync/. (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 | « sync/api/fake_sync_change_processor.h ('k') | sync/api/sync_change_processor_wrapper_for_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/string_ordinal.h
diff --git a/sync/api/string_ordinal.h b/sync/api/string_ordinal.h
index 8fe998641133978bc4e1ec5c76329c6a1448ffb6..f2a0873f222debe369f56c7f8c8eff65d7e6076f 100644
--- a/sync/api/string_ordinal.h
+++ b/sync/api/string_ordinal.h
@@ -5,7 +5,9 @@
#ifndef SYNC_API_STRING_ORDINAL_H_
#define SYNC_API_STRING_ORDINAL_H_
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "sync/internal_api/public/base/ordinal.h"
namespace syncer {
@@ -20,8 +22,8 @@ namespace syncer {
// to store as a string in a protobuf.
struct StringOrdinalTraits {
- static const uint8 kZeroDigit = 'a';
- static const uint8 kMaxDigit = 'z';
+ static const uint8_t kZeroDigit = 'a';
+ static const uint8_t kMaxDigit = 'z';
static const size_t kMinLength = 1;
};
« no previous file with comments | « sync/api/fake_sync_change_processor.h ('k') | sync/api/sync_change_processor_wrapper_for_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698