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

Unified Diff: content/renderer/npapi/webplugin_delegate_proxy.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
« no previous file with comments | « content/renderer/npapi/plugin_channel_host.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/webplugin_delegate_proxy.h
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.h b/content/renderer/npapi/webplugin_delegate_proxy.h
index ad9a66b80cf7c66a0d4ea7c86ad74ac745d06d38..62fa840618d9eda588da43929db75f2a7d22e6c2 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.h
+++ b/content/renderer/npapi/webplugin_delegate_proxy.h
@@ -5,13 +5,17 @@
#ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_
#define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/sequenced_task_runner_helpers.h"
+#include "build/build_config.h"
#include "content/child/npapi/webplugin_delegate.h"
#include "content/public/common/webplugininfo.h"
#include "ipc/ipc_listener.h"
@@ -153,9 +157,9 @@ class WebPluginDelegateProxy
void OnStartIme();
// Accelerated (Core Animation) plugin implementation.
void OnAcceleratedPluginEnabledRendering();
- void OnAcceleratedPluginAllocatedIOSurface(int32 width,
- int32 height,
- uint32 surface_id);
+ void OnAcceleratedPluginAllocatedIOSurface(int32_t width,
+ int32_t height,
+ uint32_t surface_id);
void OnAcceleratedPluginSwappedIOSurface();
#endif
#if defined(OS_WIN)
@@ -204,7 +208,7 @@ class WebPluginDelegateProxy
#if !defined(OS_WIN)
// Creates a process-local memory section and canvas. PlatformCanvas on
// Windows only works with a DIB, not arbitrary memory.
- bool CreateLocalBitmap(std::vector<uint8>* memory,
+ bool CreateLocalBitmap(std::vector<uint8_t>* memory,
scoped_ptr<SkCanvas>* canvas);
#endif
« no previous file with comments | « content/renderer/npapi/plugin_channel_host.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698