Index: content/browser/gpu/browser_gpu_channel_host_factory.h |
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h |
index c0bcedceebe72510b12294176ee0755798563a98..530768c44b448b00470b8506e2aaea4a92b05689 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h |
@@ -5,11 +5,16 @@ |
#ifndef CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ |
#define CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include <map> |
#include <vector> |
+#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
+#include "build/build_config.h" |
#include "content/common/gpu/client/gpu_channel_host.h" |
#include "ipc/message_filter.h" |
@@ -28,9 +33,9 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory |
scoped_refptr<base::SingleThreadTaskRunner> GetIOThreadTaskRunner() override; |
scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; |
CreateCommandBufferResult CreateViewCommandBuffer( |
- int32 surface_id, |
+ int32_t surface_id, |
const GPUCreateCommandBufferConfig& init_params, |
- int32 route_id) override; |
+ int32_t route_id) override; |
int GpuProcessHostId() { return gpu_host_id_; } |
#if !defined(OS_ANDROID) |
@@ -55,7 +60,7 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory |
void GpuChannelEstablished(); |
void CreateViewCommandBufferOnIO( |
CreateRequest* request, |
- int32 surface_id, |
+ int32_t surface_id, |
const GPUCreateCommandBufferConfig& init_params); |
static void CommandBufferCreatedOnIO(CreateRequest* request, |
CreateCommandBufferResult result); |