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

Unified Diff: content/renderer/pepper/host_array_buffer_var.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (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
Index: content/renderer/pepper/host_array_buffer_var.h
diff --git a/content/renderer/pepper/host_array_buffer_var.h b/content/renderer/pepper/host_array_buffer_var.h
index 3f917d46cd42283457c690c4846a13c6009c5299..f26360d0d1dad57c8b507ed615d24793415b5fa6 100644
--- a/content/renderer/pepper/host_array_buffer_var.h
+++ b/content/renderer/pepper/host_array_buffer_var.h
@@ -5,6 +5,9 @@
#ifndef CONTENT_RENDERER_PEPPER_HOST_ARRAY_BUFFER_VAR_H_
#define CONTENT_RENDERER_PEPPER_HOST_ARRAY_BUFFER_VAR_H_
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/shared_memory.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/shared_impl/host_resource.h"
@@ -16,15 +19,15 @@ namespace content {
// Represents a host-side ArrayBufferVar.
class HostArrayBufferVar : public ppapi::ArrayBufferVar {
public:
- explicit HostArrayBufferVar(uint32 size_in_bytes);
+ explicit HostArrayBufferVar(uint32_t size_in_bytes);
explicit HostArrayBufferVar(const blink::WebArrayBuffer& buffer);
- explicit HostArrayBufferVar(uint32 size_in_bytes,
+ explicit HostArrayBufferVar(uint32_t size_in_bytes,
base::SharedMemoryHandle handle);
// ArrayBufferVar implementation.
void* Map() override;
void Unmap() override;
- uint32 ByteLength() override;
+ uint32_t ByteLength() override;
bool CopyToNewShmem(PP_Instance instance,
int* host_shm_handle_id,
base::SharedMemoryHandle* plugin_shm_handle) override;
« no previous file with comments | « content/renderer/pepper/fake_pepper_plugin_instance.h ('k') | content/renderer/pepper/host_array_buffer_var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698