| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_FILE_FILE_SERVICE_H_ | 5 #ifndef SERVICES_FILE_FILE_SERVICE_H_ |
| 6 #define SERVICES_FILE_FILE_SERVICE_H_ | 6 #define SERVICES_FILE_FILE_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/single_thread_task_runner.h" |
| 10 #include "components/filesystem/lock_table.h" | 11 #include "components/filesystem/lock_table.h" |
| 11 #include "components/leveldb/public/interfaces/leveldb.mojom.h" | 12 #include "components/leveldb/public/interfaces/leveldb.mojom.h" |
| 12 #include "mojo/public/cpp/bindings/binding_set.h" | 13 #include "mojo/public/cpp/bindings/binding_set.h" |
| 13 #include "services/file/public/interfaces/file_system.mojom.h" | 14 #include "services/file/public/interfaces/file_system.mojom.h" |
| 14 #include "services/service_manager/public/cpp/binder_registry.h" | 15 #include "services/service_manager/public/cpp/binder_registry.h" |
| 15 #include "services/service_manager/public/cpp/service.h" | 16 #include "services/service_manager/public/cpp/service.h" |
| 16 | 17 |
| 17 namespace file { | 18 namespace file { |
| 18 | 19 |
| 19 std::unique_ptr<service_manager::Service> CreateFileService( | 20 std::unique_ptr<service_manager::Service> CreateFileService( |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 std::unique_ptr<LevelDBServiceObjects> leveldb_objects_; | 56 std::unique_ptr<LevelDBServiceObjects> leveldb_objects_; |
| 56 | 57 |
| 57 service_manager::BinderRegistry registry_; | 58 service_manager::BinderRegistry registry_; |
| 58 | 59 |
| 59 DISALLOW_COPY_AND_ASSIGN(FileService); | 60 DISALLOW_COPY_AND_ASSIGN(FileService); |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 } // namespace file | 63 } // namespace file |
| 63 | 64 |
| 64 #endif // SERVICES_FILE_FILE_SERVICE_H_ | 65 #endif // SERVICES_FILE_FILE_SERVICE_H_ |
| OLD | NEW |