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

Unified Diff: ipc/ipc_test_sink.cc

Issue 1322253003: ipc: Convert int types from basictypes.h to the ones from stdint.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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
Index: ipc/ipc_test_sink.cc
diff --git a/ipc/ipc_test_sink.cc b/ipc/ipc_test_sink.cc
index f0c7a5f58d12e050a973eaafed0245870465f8e6..ab95a19a2ce85ee0e01b37f29d16eb854a9b111a 100644
--- a/ipc/ipc_test_sink.cc
+++ b/ipc/ipc_test_sink.cc
@@ -63,7 +63,7 @@ const Message* TestSink::GetMessageAt(size_t index) const {
return &messages_[index];
}
-const Message* TestSink::GetFirstMessageMatching(uint32 id) const {
+const Message* TestSink::GetFirstMessageMatching(uint32_t id) const {
for (size_t i = 0; i < messages_.size(); i++) {
if (messages_[i].type() == id)
return &messages_[i];
@@ -71,7 +71,7 @@ const Message* TestSink::GetFirstMessageMatching(uint32 id) const {
return NULL;
}
-const Message* TestSink::GetUniqueMessageMatching(uint32 id) const {
+const Message* TestSink::GetUniqueMessageMatching(uint32_t id) const {
size_t found_index = 0;
size_t found_count = 0;
for (size_t i = 0; i < messages_.size(); i++) {

Powered by Google App Engine
This is Rietveld 408576698