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

Side by Side Diff: mojo/public/cpp/bindings/tests/validation_test_input_parser.cc

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/public/cpp/bindings/tests/validation_test_input_parser.h" 5 #include "mojo/public/cpp/bindings/tests/validation_test_input_parser.h"
6 6
7 #include <assert.h> 7 #include <assert.h>
8 #include <stddef.h>
9 #include <stdint.h>
8 #include <stdio.h> 10 #include <stdio.h>
9 #include <string.h> 11 #include <string.h>
10 12
11 #include <limits> 13 #include <limits>
12 #include <map> 14 #include <map>
13 #include <set> 15 #include <set>
14 #include <utility> 16 #include <utility>
15 17
16 #include "mojo/public/c/system/macros.h" 18 #include "mojo/public/c/system/macros.h"
17 19
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 bool ParseValidationTestInput(const std::string& input, 403 bool ParseValidationTestInput(const std::string& input,
402 std::vector<uint8_t>* data, 404 std::vector<uint8_t>* data,
403 size_t* num_handles, 405 size_t* num_handles,
404 std::string* error_message) { 406 std::string* error_message) {
405 ValidationTestInputParser parser(input, data, num_handles, error_message); 407 ValidationTestInputParser parser(input, data, num_handles, error_message);
406 return parser.Run(); 408 return parser.Run();
407 } 409 }
408 410
409 } // namespace test 411 } // namespace test
410 } // namespace mojo 412 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/validation_test_input_parser.h ('k') | mojo/public/cpp/bindings/tests/validation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698