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

Unified Diff: chromeos/binder/transaction_data_reader.h

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/transaction_data_from_driver.cc ('k') | chromeos/binder/transaction_data_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/binder/transaction_data_reader.h
diff --git a/chromeos/binder/transaction_data_reader.h b/chromeos/binder/transaction_data_reader.h
index 22dddef91c5c94fc519042beb203a6a45e79cf03..26cb916de0d2f60742567a5c4b1db4faea620ed4 100644
--- a/chromeos/binder/transaction_data_reader.h
+++ b/chromeos/binder/transaction_data_reader.h
@@ -5,7 +5,9 @@
#ifndef CHROMEOS_BINDER_TRANSACTION_DATA_READER_H_
#define CHROMEOS_BINDER_TRANSACTION_DATA_READER_H_
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/macros.h"
#include "chromeos/binder/buffer_reader.h"
#include "chromeos/chromeos_export.h"
@@ -28,17 +30,17 @@ class CHROMEOS_EXPORT TransactionDataReader {
// Reads the specified number of bytes with appropriate padding.
bool ReadData(void* buf, size_t n);
- // Reads an int32 value.
- bool ReadInt32(int32* value);
+ // Reads an int32_t value.
+ bool ReadInt32(int32_t* value);
- // Reads an uint32 value.
- bool ReadUint32(uint32* value);
+ // Reads an uint32_t value.
+ bool ReadUint32(uint32_t* value);
- // Reads an int64 value.
- bool ReadInt64(int64* value);
+ // Reads an int64_t value.
+ bool ReadInt64(int64_t* value);
- // Reads an uint64 value.
- bool ReadUint64(uint64* value);
+ // Reads an uint64_t value.
+ bool ReadUint64(uint64_t* value);
// Reads a float value.
bool ReadFloat(float* value);
« no previous file with comments | « chromeos/binder/transaction_data_from_driver.cc ('k') | chromeos/binder/transaction_data_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698