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/public/interfaces/file_system.mojom.h" | 11 #include "components/filesystem/public/interfaces/file_system.mojom.h" |
12 #include "mojo/application/public/cpp/application_delegate.h" | |
13 #include "mojo/application/public/cpp/interface_factory.h" | |
14 #include "mojo/services/tracing/public/cpp/tracing_impl.h" | 12 #include "mojo/services/tracing/public/cpp/tracing_impl.h" |
| 13 #include "mojo/shell/public/cpp/application_delegate.h" |
| 14 #include "mojo/shell/public/cpp/interface_factory.h" |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 class ApplicationImpl; | 17 class ApplicationImpl; |
18 } | 18 } |
19 | 19 |
20 namespace filesystem { | 20 namespace filesystem { |
21 | 21 |
22 class FileSystemApp : public mojo::ApplicationDelegate, | 22 class FileSystemApp : public mojo::ApplicationDelegate, |
23 public mojo::InterfaceFactory<FileSystem> { | 23 public mojo::InterfaceFactory<FileSystem> { |
24 public: | 24 public: |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // then broadcast a notification to all FileSystemClients that they should | 66 // then broadcast a notification to all FileSystemClients that they should |
67 // shut down. Once the final one does, then we QuitNow(). | 67 // shut down. Once the final one does, then we QuitNow(). |
68 bool in_shutdown_; | 68 bool in_shutdown_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(FileSystemApp); | 70 DISALLOW_COPY_AND_ASSIGN(FileSystemApp); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace filesystem | 73 } // namespace filesystem |
74 | 74 |
75 #endif // COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_ | 75 #endif // COMPONENTS_FILESYSTEM_FILE_SYSTEM_APP_H_ |
OLD | NEW |