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

Unified Diff: mojo/public/cpp/bindings/tests/validation_test_input_parser.h

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
Index: mojo/public/cpp/bindings/tests/validation_test_input_parser.h
diff --git a/mojo/public/cpp/bindings/tests/validation_test_input_parser.h b/mojo/public/cpp/bindings/tests/validation_test_input_parser.h
index d5f8c81c52c2604f5cb1dbed3189f61c9f384b21..d08f359c179c627d2759518f77857ab45875b878 100644
--- a/mojo/public/cpp/bindings/tests/validation_test_input_parser.h
+++ b/mojo/public/cpp/bindings/tests/validation_test_input_parser.h
@@ -5,6 +5,7 @@
#ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_VALIDATION_TEST_INPUT_PARSER_H_
#define MOJO_PUBLIC_CPP_BINDINGS_TESTS_VALIDATION_TEST_INPUT_PARSER_H_
+#include <stddef.h>
#include <stdint.h>
#include <string>
@@ -70,13 +71,13 @@ namespace test {
//
// Suppose you have the following Mojo types defined:
// struct Bar {
-// int32 a;
+// int32_t a;
// bool b;
// bool c;
// };
// struct Foo {
// Bar x;
-// uint32 y;
+// uint32_t y;
// };
//
// The following describes a valid message whose payload is a Foo struct:
« no previous file with comments | « mojo/public/cpp/bindings/tests/union_unittest.cc ('k') | mojo/public/cpp/bindings/tests/validation_test_input_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698