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/command_stream.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/command_broker.cc ('k') | chromeos/binder/command_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/binder/command_stream.h
diff --git a/chromeos/binder/command_stream.h b/chromeos/binder/command_stream.h
index 3ce431ad2a670b05414a4e7b2ef9031339dbb250..cd85343de61f145c906592a9593d6d0d76bb9903 100644
--- a/chromeos/binder/command_stream.h
+++ b/chromeos/binder/command_stream.h
@@ -5,9 +5,11 @@
#ifndef CHROMEOS_BINDER_COMMAND_STREAM_H_
#define CHROMEOS_BINDER_COMMAND_STREAM_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <vector>
-#include "base/basictypes.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -59,7 +61,7 @@ class CHROMEOS_EXPORT CommandStream {
bool ProcessIncomingCommand();
// Appends a command to the outgoing command buffer.
- void AppendOutgoingCommand(uint32 command, const void* data, size_t size);
+ void AppendOutgoingCommand(uint32_t command, const void* data, size_t size);
// Writes buffered outgoing commands to the driver, and returns true on
// success.
@@ -67,7 +69,7 @@ class CHROMEOS_EXPORT CommandStream {
private:
// Calls the appropriate delegate method to handle the incoming command.
- bool OnIncomingCommand(uint32 command, BufferReader* reader);
+ bool OnIncomingCommand(uint32_t command, BufferReader* reader);
// Frees the buffer used by the driver to pass transaction data payload.
void FreeTransactionBuffer(const void* ptr);
« no previous file with comments | « chromeos/binder/command_broker.cc ('k') | chromeos/binder/command_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698