| 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_DIRECTORY_IMPL_H_ | 5 #ifndef COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_ |
| 6 #define COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_ | 6 #define COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 9 #include "base/files/scoped_file.h" | 11 #include "base/files/scoped_file.h" |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 12 #include "components/filesystem/public/interfaces/directory.mojom.h" | 14 #include "components/filesystem/public/interfaces/directory.mojom.h" |
| 13 #include "mojo/public/cpp/bindings/interface_request.h" | 15 #include "mojo/public/cpp/bindings/interface_request.h" |
| 14 #include "mojo/public/cpp/bindings/strong_binding.h" | 16 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 15 | 17 |
| 16 namespace base { | 18 namespace base { |
| 17 class ScopedTempDir; | 19 class ScopedTempDir; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 mojo::StrongBinding<Directory> binding_; | 60 mojo::StrongBinding<Directory> binding_; |
| 59 base::FilePath directory_path_; | 61 base::FilePath directory_path_; |
| 60 scoped_ptr<base::ScopedTempDir> temp_dir_; | 62 scoped_ptr<base::ScopedTempDir> temp_dir_; |
| 61 | 63 |
| 62 DISALLOW_COPY_AND_ASSIGN(DirectoryImpl); | 64 DISALLOW_COPY_AND_ASSIGN(DirectoryImpl); |
| 63 }; | 65 }; |
| 64 | 66 |
| 65 } // namespace filesystem | 67 } // namespace filesystem |
| 66 | 68 |
| 67 #endif // COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_ | 69 #endif // COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_ |
| OLD | NEW |