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 SERVICES_FILES_DIRECTORY_IMPL_H_ | 5 #ifndef SERVICES_FILES_DIRECTORY_IMPL_H_ |
6 #define SERVICES_FILES_DIRECTORY_IMPL_H_ | 6 #define SERVICES_FILES_DIRECTORY_IMPL_H_ |
7 | 7 |
8 #include "base/files/scoped_file.h" | 8 #include "base/files/scoped_file.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "mojo/public/cpp/bindings/interface_request.h" | 11 #include "mojo/public/cpp/bindings/interface_request.h" |
12 #include "mojo/public/cpp/bindings/strong_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_binding.h" |
13 #include "services/files/directory.mojom.h" | 13 #include "mojo/services/files/public/interfaces/directory.mojom.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class ScopedTempDir; | 16 class ScopedTempDir; |
17 } // namespace base | 17 } // namespace base |
18 | 18 |
19 namespace mojo { | 19 namespace mojo { |
20 namespace files { | 20 namespace files { |
21 | 21 |
22 class DirectoryImpl : public Directory { | 22 class DirectoryImpl : public Directory { |
23 public: | 23 public: |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 base::ScopedFD dir_fd_; | 55 base::ScopedFD dir_fd_; |
56 scoped_ptr<base::ScopedTempDir> temp_dir_; | 56 scoped_ptr<base::ScopedTempDir> temp_dir_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(DirectoryImpl); | 58 DISALLOW_COPY_AND_ASSIGN(DirectoryImpl); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace files | 61 } // namespace files |
62 } // namespace mojo | 62 } // namespace mojo |
63 | 63 |
64 #endif // SERVICES_FILES_DIRECTORY_IMPL_H_ | 64 #endif // SERVICES_FILES_DIRECTORY_IMPL_H_ |
OLD | NEW |