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

Unified Diff: sandbox/win/src/internal_types.h

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros 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 | « sandbox/win/src/interception_unittest.cc ('k') | sandbox/win/src/ipc_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/internal_types.h
diff --git a/sandbox/win/src/internal_types.h b/sandbox/win/src/internal_types.h
index 026bedb06422f0e416e54e58c67944d2f8ff3e66..e1028189d8057916478e41f4074ae88b883f4fa2 100644
--- a/sandbox/win/src/internal_types.h
+++ b/sandbox/win/src/internal_types.h
@@ -5,6 +5,8 @@
#ifndef SANDBOX_WIN_SRC_INTERNAL_TYPES_H_
#define SANDBOX_WIN_SRC_INTERNAL_TYPES_H_
+#include <stdint.h>
+
namespace sandbox {
const wchar_t kNtdllName[] = L"ntdll.dll";
@@ -28,18 +30,16 @@ enum ArgType {
// Encapsulates a pointer to a buffer and the size of the buffer.
class CountedBuffer {
public:
- CountedBuffer(void* buffer, uint32 size) : size_(size), buffer_(buffer) {}
+ CountedBuffer(void* buffer, uint32_t size) : size_(size), buffer_(buffer) {}
- uint32 Size() const {
- return size_;
- }
+ uint32_t Size() const { return size_; }
void* Buffer() const {
return buffer_;
}
private:
- uint32 size_;
+ uint32_t size_;
void* buffer_;
};
« no previous file with comments | « sandbox/win/src/interception_unittest.cc ('k') | sandbox/win/src/ipc_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698