OLD | NEW |
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 #ifndef COMPONENTS_FILESYSTEM_FILE_IMPL_H_ | 5 #ifndef COMPONENTS_FILESYSTEM_FILE_IMPL_H_ |
6 #define COMPONENTS_FILESYSTEM_FILE_IMPL_H_ | 6 #define COMPONENTS_FILESYSTEM_FILE_IMPL_H_ |
7 | 7 |
8 #include "base/files/file.h" | 8 #include "base/files/file.h" |
9 #include "base/files/scoped_file.h" | 9 #include "base/files/scoped_file.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/filesystem/public/interfaces/directory.mojom.h" | 11 #include "components/filesystem/public/interfaces/directory.mojom.h" |
12 #include "mojo/public/cpp/bindings/interface_request.h" | 12 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" |
13 #include "mojo/public/cpp/bindings/strong_binding.h" | 13 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class FilePath; | 16 class FilePath; |
17 } | 17 } |
18 | 18 |
19 namespace filesystem { | 19 namespace filesystem { |
20 | 20 |
21 class FileImpl : public File { | 21 class FileImpl : public File { |
22 public: | 22 public: |
23 FileImpl(mojo::InterfaceRequest<File> request, | 23 FileImpl(mojo::InterfaceRequest<File> request, |
(...skipping 29 matching lines...) Expand all Loading... |
53 private: | 53 private: |
54 mojo::StrongBinding<File> binding_; | 54 mojo::StrongBinding<File> binding_; |
55 base::File file_; | 55 base::File file_; |
56 | 56 |
57 DISALLOW_COPY_AND_ASSIGN(FileImpl); | 57 DISALLOW_COPY_AND_ASSIGN(FileImpl); |
58 }; | 58 }; |
59 | 59 |
60 } // namespace filesystem | 60 } // namespace filesystem |
61 | 61 |
62 #endif // COMPONENTS_FILESYSTEM_FILE_IMPL_H_ | 62 #endif // COMPONENTS_FILESYSTEM_FILE_IMPL_H_ |
OLD | NEW |