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

Side by Side Diff: components/filesystem/file_impl_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « components/filesystem/file_impl.cc ('k') | components/filesystem/file_system_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stddef.h>
6 #include <stdint.h>
7
5 #include <vector> 8 #include <vector>
6 9
7 #include "base/files/file.h" 10 #include "base/files/file.h"
8 #include "components/filesystem/files_test_base.h" 11 #include "components/filesystem/files_test_base.h"
9 #include "mojo/platform_handle/platform_handle_functions.h" 12 #include "mojo/platform_handle/platform_handle_functions.h"
10 #include "mojo/public/cpp/bindings/interface_request.h" 13 #include "mojo/public/cpp/bindings/interface_request.h"
11 #include "mojo/public/cpp/bindings/type_converter.h" 14 #include "mojo/public/cpp/bindings/type_converter.h"
12 #include "mojo/util/capture_util.h" 15 #include "mojo/util/capture_util.h"
13 16
14 using mojo::Capture; 17 using mojo::Capture;
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 EXPECT_EQ(static_cast<uint8_t>('h'), bytes_read[0]); 683 EXPECT_EQ(static_cast<uint8_t>('h'), bytes_read[0]);
681 EXPECT_EQ(static_cast<uint8_t>('e'), bytes_read[1]); 684 EXPECT_EQ(static_cast<uint8_t>('e'), bytes_read[1]);
682 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[2]); 685 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[2]);
683 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[3]); 686 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[3]);
684 EXPECT_EQ(static_cast<uint8_t>('o'), bytes_read[4]); 687 EXPECT_EQ(static_cast<uint8_t>('o'), bytes_read[4]);
685 } 688 }
686 } 689 }
687 690
688 } // namespace 691 } // namespace
689 } // namespace filesystem 692 } // namespace filesystem
OLDNEW
« no previous file with comments | « components/filesystem/file_impl.cc ('k') | components/filesystem/file_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698