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

Unified Diff: content/ppapi_plugin/ppapi_thread.h

Issue 1544273002: Switch to standard integer types in content/. (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/ppapi_plugin/ppapi_blink_platform_impl.cc ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi_thread.h
diff --git a/content/ppapi_plugin/ppapi_thread.h b/content/ppapi_plugin/ppapi_thread.h
index ed09b1f548b005627faaddc07beccbbd05b839b3..34d807723ae7671ab75aeaab6af7ce7b862e4255 100644
--- a/content/ppapi_plugin/ppapi_thread.h
+++ b/content/ppapi_plugin/ppapi_thread.h
@@ -5,11 +5,13 @@
#ifndef CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
#define CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
+#include <stdint.h>
+
#include <map>
#include <string>
-#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/process/process.h"
#include "base/scoped_native_library.h"
@@ -70,7 +72,7 @@ class PpapiThread : public ChildThreadImpl,
// ChildThread overrides.
bool Send(IPC::Message* msg) override;
bool OnControlMessageReceived(const IPC::Message& msg) override;
- void OnChannelConnected(int32 peer_pid) override;
+ void OnChannelConnected(int32_t peer_pid) override;
// PluginDispatcher::PluginDelegate implementation.
std::set<PP_Instance>* GetGloballySeenInstanceIDSet() override;
@@ -83,8 +85,8 @@ class PpapiThread : public ChildThreadImpl,
base::SharedMemoryHandle ShareSharedMemoryHandleWithRemote(
const base::SharedMemoryHandle& handle,
base::ProcessId remote_pid) override;
- uint32 Register(ppapi::proxy::PluginDispatcher* plugin_dispatcher) override;
- void Unregister(uint32 plugin_dispatcher_id) override;
+ uint32_t Register(ppapi::proxy::PluginDispatcher* plugin_dispatcher) override;
+ void Unregister(uint32_t plugin_dispatcher_id) override;
// PluginProxyDelegate.
// SendToBrowser() is intended to be safe to use on another thread so
@@ -157,8 +159,8 @@ class PpapiThread : public ChildThreadImpl,
std::set<PP_Instance> globally_seen_instance_ids_;
// The PluginDispatcher instances contained in the map are not owned by it.
- std::map<uint32, ppapi::proxy::PluginDispatcher*> plugin_dispatchers_;
- uint32 next_plugin_dispatcher_id_;
+ std::map<uint32_t, ppapi::proxy::PluginDispatcher*> plugin_dispatchers_;
+ uint32_t next_plugin_dispatcher_id_;
// The BlinkPlatformImpl implementation.
scoped_ptr<PpapiBlinkPlatformImpl> blink_platform_impl_;
« no previous file with comments | « content/ppapi_plugin/ppapi_blink_platform_impl.cc ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698