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_SYSTEM_APP_H_ | 5 #ifndef COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_ |
6 #define COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_ | 6 #define COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/filesystem/directory_impl.h" | 9 #include "components/filesystem/directory_impl.h" |
10 #include "components/filesystem/file_system_impl.h" | 10 #include "components/filesystem/file_system_impl.h" |
11 #include "components/filesystem/lock_table.h" | 11 #include "components/filesystem/lock_table.h" |
12 #include "components/filesystem/public/interfaces/file_system.mojom.h" | 12 #include "components/filesystem/public/interfaces/file_system.mojom.h" |
13 #include "services/service_manager/public/cpp/interface_factory.h" | 13 #include "services/service_manager/public/cpp/interface_factory.h" |
14 #include "services/service_manager/public/cpp/service.h" | 14 #include "services/service_manager/public/cpp/service.h" |
15 #include "services/tracing/public/cpp/provider.h" | 15 #include "services/tracing/public/cpp/provider.h" |
16 | 16 |
17 namespace mojo { | |
18 class Connector; | |
19 } | |
20 | |
21 namespace filesystem { | 17 namespace filesystem { |
22 | 18 |
23 class FileSystemApp | 19 class FileSystemApp |
24 : public service_manager::Service, | 20 : public service_manager::Service, |
25 public service_manager::InterfaceFactory<mojom::FileSystem> { | 21 public service_manager::InterfaceFactory<mojom::FileSystem> { |
26 public: | 22 public: |
27 FileSystemApp(); | 23 FileSystemApp(); |
28 ~FileSystemApp() override; | 24 ~FileSystemApp() override; |
29 | 25 |
30 private: | 26 private: |
(...skipping 12 matching lines...) Expand all Loading... |
43 tracing::Provider tracing_; | 39 tracing::Provider tracing_; |
44 | 40 |
45 scoped_refptr<LockTable> lock_table_; | 41 scoped_refptr<LockTable> lock_table_; |
46 | 42 |
47 DISALLOW_COPY_AND_ASSIGN(FileSystemApp); | 43 DISALLOW_COPY_AND_ASSIGN(FileSystemApp); |
48 }; | 44 }; |
49 | 45 |
50 } // namespace filesystem | 46 } // namespace filesystem |
51 | 47 |
52 #endif // COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_ | 48 #endif // COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_ |
OLD | NEW |