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

Unified Diff: ppapi/proxy/resource_message_test_sink.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/resource_message_params.h ('k') | ppapi/proxy/resource_message_test_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/resource_message_test_sink.h
diff --git a/ppapi/proxy/resource_message_test_sink.h b/ppapi/proxy/resource_message_test_sink.h
index 3e40e31060dc0079db434ee5bc14cedaf555d342..b6ada44c8991683cad5081c7e168a1260100e07f 100644
--- a/ppapi/proxy/resource_message_test_sink.h
+++ b/ppapi/proxy/resource_message_test_sink.h
@@ -34,27 +34,25 @@ class ResourceMessageTestSink : public IPC::TestSink {
// Searches the queue for the first resource call message with a nested
// message matching the given ID. On success, returns true and populates the
// given params and nested message.
- bool GetFirstResourceCallMatching(
- uint32 id,
- ResourceMessageCallParams* params,
- IPC::Message* nested_msg) const;
+ bool GetFirstResourceCallMatching(uint32_t id,
+ ResourceMessageCallParams* params,
+ IPC::Message* nested_msg) const;
// Like GetFirstResourceCallMatching except for replies.
- bool GetFirstResourceReplyMatching(
- uint32 id,
- ResourceMessageReplyParams* params,
- IPC::Message* nested_msg);
+ bool GetFirstResourceReplyMatching(uint32_t id,
+ ResourceMessageReplyParams* params,
+ IPC::Message* nested_msg);
// Searches the queue for all resource call messages with a nested message
// matching the given ID.
typedef std::pair<ResourceMessageCallParams, IPC::Message> ResourceCall;
typedef std::vector<ResourceCall> ResourceCallVector;
- ResourceCallVector GetAllResourceCallsMatching(uint32 id);
+ ResourceCallVector GetAllResourceCallsMatching(uint32_t id);
// Like GetAllResourceCallsMatching except for replies.
typedef std::pair<ResourceMessageReplyParams, IPC::Message> ResourceReply;
typedef std::vector<ResourceReply> ResourceReplyVector;
- ResourceReplyVector GetAllResourceRepliesMatching(uint32 id);
+ ResourceReplyVector GetAllResourceRepliesMatching(uint32_t id);
private:
scoped_ptr<IPC::Message> sync_reply_msg_;
@@ -79,7 +77,7 @@ class ResourceMessageTestSink : public IPC::TestSink {
class ResourceSyncCallHandler : public IPC::Listener {
public:
ResourceSyncCallHandler(ResourceMessageTestSink* test_sink,
- uint32 incoming_type,
+ uint32_t incoming_type,
int32_t result,
const IPC::Message& reply_msg);
~ResourceSyncCallHandler() override;
@@ -97,7 +95,7 @@ class ResourceSyncCallHandler : public IPC::Listener {
private:
ResourceMessageTestSink* test_sink_;
- uint32 incoming_type_;
+ uint32_t incoming_type_;
int32_t result_;
const SerializedHandle* serialized_handle_; // Non-owning pointer.
IPC::Message reply_msg_;
« no previous file with comments | « ppapi/proxy/resource_message_params.h ('k') | ppapi/proxy/resource_message_test_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698