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

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

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (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 | « 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 e1028189d8057916478e41f4074ae88b883f4fa2..026bedb06422f0e416e54e58c67944d2f8ff3e66 100644
--- a/sandbox/win/src/internal_types.h
+++ b/sandbox/win/src/internal_types.h
@@ -4,8 +4,6 @@
#ifndef SANDBOX_WIN_SRC_INTERNAL_TYPES_H_
#define SANDBOX_WIN_SRC_INTERNAL_TYPES_H_
-
-#include <stdint.h>
namespace sandbox {
@@ -30,16 +28,18 @@
// Encapsulates a pointer to a buffer and the size of the buffer.
class CountedBuffer {
public:
- CountedBuffer(void* buffer, uint32_t size) : size_(size), buffer_(buffer) {}
+ CountedBuffer(void* buffer, uint32 size) : size_(size), buffer_(buffer) {}
- uint32_t Size() const { return size_; }
+ uint32 Size() const {
+ return size_;
+ }
void* Buffer() const {
return buffer_;
}
private:
- uint32_t size_;
+ uint32 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