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

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

Issue 1435063002: Eliminate third_party/mojo/src from all targets' include paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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.h ('k') | components/filesystem/file_system_impl.h » ('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 <vector> 5 #include <vector>
6 6
7 #include "base/files/file.h" 7 #include "base/files/file.h"
8 #include "components/filesystem/files_test_base.h" 8 #include "components/filesystem/files_test_base.h"
9 #include "mojo/platform_handle/platform_handle_functions.h" 9 #include "mojo/platform_handle/platform_handle_functions.h"
10 #include "mojo/public/cpp/bindings/interface_request.h"
11 #include "mojo/public/cpp/bindings/type_converter.h"
12 #include "mojo/util/capture_util.h" 10 #include "mojo/util/capture_util.h"
11 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h"
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/type_converter.h"
13 13
14 using mojo::Capture; 14 using mojo::Capture;
15 15
16 namespace filesystem { 16 namespace filesystem {
17 namespace { 17 namespace {
18 18
19 using FileImplTest = FilesTestBase; 19 using FileImplTest = FilesTestBase;
20 20
21 TEST_F(FileImplTest, CreateWriteCloseRenameOpenRead) { 21 TEST_F(FileImplTest, CreateWriteCloseRenameOpenRead) {
22 DirectoryPtr directory; 22 DirectoryPtr directory;
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 EXPECT_EQ(static_cast<uint8_t>('h'), bytes_read[0]); 680 EXPECT_EQ(static_cast<uint8_t>('h'), bytes_read[0]);
681 EXPECT_EQ(static_cast<uint8_t>('e'), bytes_read[1]); 681 EXPECT_EQ(static_cast<uint8_t>('e'), bytes_read[1]);
682 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[2]); 682 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[2]);
683 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[3]); 683 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[3]);
684 EXPECT_EQ(static_cast<uint8_t>('o'), bytes_read[4]); 684 EXPECT_EQ(static_cast<uint8_t>('o'), bytes_read[4]);
685 } 685 }
686 } 686 }
687 687
688 } // namespace 688 } // namespace
689 } // namespace filesystem 689 } // namespace filesystem
OLDNEW
« no previous file with comments | « components/filesystem/file_impl.h ('k') | components/filesystem/file_system_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698