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

Unified Diff: ppapi/proxy/plugin_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/proxy/plugin_array_buffer_var.cc ('k') | ppapi/proxy/plugin_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_dispatcher.h
diff --git a/ppapi/proxy/plugin_dispatcher.h b/ppapi/proxy/plugin_dispatcher.h
index 159e69caab2fb84a3663afd6bf2419c978b01d6c..5dc22731552892e521bbf6e9d759fb7e308f24de 100644
--- a/ppapi/proxy/plugin_dispatcher.h
+++ b/ppapi/proxy/plugin_dispatcher.h
@@ -5,12 +5,14 @@
#ifndef PPAPI_PROXY_PLUGIN_DISPATCHER_H_
#define PPAPI_PROXY_PLUGIN_DISPATCHER_H_
+#include <stdint.h>
+
#include <set>
#include <string>
-#include "base/basictypes.h"
#include "base/containers/hash_tables.h"
#include "base/containers/scoped_ptr_hash_map.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/process/process.h"
@@ -74,7 +76,7 @@ struct InstanceData {
~FlushInfo();
bool flush_pending;
HostResource resource;
- int32 put_offset;
+ int32_t put_offset;
};
FlushInfo flush_info_;
};
@@ -94,8 +96,8 @@ class PPAPI_PROXY_EXPORT PluginDispatcher
// Registers the plugin dispatcher and returns an ID.
// Plugin dispatcher IDs will be used to dispatch messages from the browser.
// Each call to Register() has to be matched with a call to Unregister().
- virtual uint32 Register(PluginDispatcher* plugin_dispatcher) = 0;
- virtual void Unregister(uint32 plugin_dispatcher_id) = 0;
+ virtual uint32_t Register(PluginDispatcher* plugin_dispatcher) = 0;
+ virtual void Unregister(uint32_t plugin_dispatcher_id) = 0;
};
// Constructor for the plugin side. The init and shutdown functions will be
@@ -181,7 +183,7 @@ class PPAPI_PROXY_EXPORT PluginDispatcher
// Returns the Preferences.
const Preferences& preferences() const { return preferences_; }
- uint32 plugin_dispatcher_id() const { return plugin_dispatcher_id_; }
+ uint32_t plugin_dispatcher_id() const { return plugin_dispatcher_id_; }
bool incognito() const { return incognito_; }
private:
@@ -215,7 +217,7 @@ class PPAPI_PROXY_EXPORT PluginDispatcher
bool received_preferences_;
Preferences preferences_;
- uint32 plugin_dispatcher_id_;
+ uint32_t plugin_dispatcher_id_;
// Set to true when the instances associated with this dispatcher are
// incognito mode.
« no previous file with comments | « ppapi/proxy/plugin_array_buffer_var.cc ('k') | ppapi/proxy/plugin_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698