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

Unified Diff: ppapi/nacl_irt/ppapi_dispatcher.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/nacl_irt/manifest_service.cc ('k') | ppapi/nacl_irt/ppapi_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/nacl_irt/ppapi_dispatcher.h
diff --git a/ppapi/nacl_irt/ppapi_dispatcher.h b/ppapi/nacl_irt/ppapi_dispatcher.h
index 0b193ab95dfb431cd63a67161064cf95da454063..d719d871eba90e0f8a791b9436f7f756bd34fdce 100644
--- a/ppapi/nacl_irt/ppapi_dispatcher.h
+++ b/ppapi/nacl_irt/ppapi_dispatcher.h
@@ -5,6 +5,8 @@
#ifndef PPAPI_NACL_IRT_PPAPI_DISPATCHER_H_
#define PPAPI_NACL_IRT_PPAPI_DISPATCHER_H_
+#include <stdint.h>
+
#include <map>
#include <set>
#include <string>
@@ -62,8 +64,8 @@ class PpapiDispatcher : public proxy::PluginDispatcher::PluginDelegate,
const base::SharedMemoryHandle& handle,
base::ProcessId remote_pid) override;
std::set<PP_Instance>* GetGloballySeenInstanceIDSet() override;
- uint32 Register(proxy::PluginDispatcher* plugin_dispatcher) override;
- void Unregister(uint32 plugin_dispatcher_id) override;
+ uint32_t Register(proxy::PluginDispatcher* plugin_dispatcher) override;
+ void Unregister(uint32_t plugin_dispatcher_id) override;
// PluginProxyDelegate implementation.
IPC::Sender* GetBrowserSender() override;
@@ -87,8 +89,8 @@ class PpapiDispatcher : public proxy::PluginDispatcher::PluginDelegate,
void OnPluginDispatcherMessageReceived(const IPC::Message& msg);
std::set<PP_Instance> instances_;
- std::map<uint32, proxy::PluginDispatcher*> plugin_dispatchers_;
- uint32 next_plugin_dispatcher_id_;
+ std::map<uint32_t, proxy::PluginDispatcher*> plugin_dispatchers_;
+ uint32_t next_plugin_dispatcher_id_;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
base::WaitableEvent* shutdown_event_;
« no previous file with comments | « ppapi/nacl_irt/manifest_service.cc ('k') | ppapi/nacl_irt/ppapi_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698