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

Unified Diff: chromeos/binder/writable_transaction_data.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 | « chromeos/binder/writable_transaction_data.h ('k') | chromeos/binder/writable_transaction_data_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/binder/writable_transaction_data.cc
diff --git a/chromeos/binder/writable_transaction_data.cc b/chromeos/binder/writable_transaction_data.cc
index 07c4bd6eeb9fb2062786c7c04217a299c39151f3..1afbdc0b5e0b69c9bad4ab36d2c0318905279209 100644
--- a/chromeos/binder/writable_transaction_data.cc
+++ b/chromeos/binder/writable_transaction_data.cc
@@ -14,7 +14,7 @@ uintptr_t WritableTransactionData::GetCookie() const {
return 0;
}
-uint32 WritableTransactionData::GetCode() const {
+uint32_t WritableTransactionData::GetCode() const {
return code_;
}
@@ -66,21 +66,21 @@ void WritableTransactionData::WriteData(const void* data, size_t n) {
}
}
-void WritableTransactionData::WriteInt32(int32 value) {
+void WritableTransactionData::WriteInt32(int32_t value) {
// Binder is not used for inter-device communication, so no endian conversion.
// The same applies to other Write() methods.
WriteData(&value, sizeof(value));
}
-void WritableTransactionData::WriteUint32(uint32 value) {
+void WritableTransactionData::WriteUint32(uint32_t value) {
WriteData(&value, sizeof(value));
}
-void WritableTransactionData::WriteInt64(int64 value) {
+void WritableTransactionData::WriteInt64(int64_t value) {
WriteData(&value, sizeof(value));
}
-void WritableTransactionData::WriteUint64(uint64 value) {
+void WritableTransactionData::WriteUint64(uint64_t value) {
WriteData(&value, sizeof(value));
}
« no previous file with comments | « chromeos/binder/writable_transaction_data.h ('k') | chromeos/binder/writable_transaction_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698