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

Unified Diff: ppapi/shared_impl/test_globals.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 | « ppapi/shared_impl/scoped_pp_var.cc ('k') | ppapi/shared_impl/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/test_globals.h
diff --git a/ppapi/shared_impl/test_globals.h b/ppapi/shared_impl/test_globals.h
index fba9a57250a6dea98dfc5969d1262732bd941fe2..e9617675865617e453ea61e08bba3981ec99cc4f 100644
--- a/ppapi/shared_impl/test_globals.h
+++ b/ppapi/shared_impl/test_globals.h
@@ -5,7 +5,10 @@
#ifndef PPAPI_SHARED_IMPL_TEST_GLOBALS_H_
#define PPAPI_SHARED_IMPL_TEST_GLOBALS_H_
+#include <stdint.h>
+
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "base/memory/shared_memory.h"
#include "ppapi/shared_impl/callback_tracker.h"
#include "ppapi/shared_impl/ppapi_globals.h"
@@ -28,24 +31,24 @@ class TestVarTracker : public VarTracker {
ResourceVar* MakeResourceVar(PP_Resource pp_resource) override {
return NULL;
}
- ArrayBufferVar* CreateArrayBuffer(uint32 size_in_bytes) override {
+ ArrayBufferVar* CreateArrayBuffer(uint32_t size_in_bytes) override {
return NULL;
}
ArrayBufferVar* CreateShmArrayBuffer(
- uint32 size_in_bytes,
+ uint32_t size_in_bytes,
base::SharedMemoryHandle handle) override {
return NULL;
}
void DidDeleteInstance(PP_Instance instance) override {}
int TrackSharedMemoryHandle(PP_Instance instance,
base::SharedMemoryHandle handle,
- uint32 size_in_bytes) override {
+ uint32_t size_in_bytes) override {
return -1;
}
bool StopTrackingSharedMemoryHandle(int id,
PP_Instance instance,
base::SharedMemoryHandle* handle,
- uint32* size_in_bytes) override {
+ uint32_t* size_in_bytes) override {
return false;
}
};
« no previous file with comments | « ppapi/shared_impl/scoped_pp_var.cc ('k') | ppapi/shared_impl/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698