OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 void GetChildDocuments(const std::string& authority, | 105 void GetChildDocuments(const std::string& authority, |
106 const std::string& parent_document_id, | 106 const std::string& parent_document_id, |
107 const GetChildDocumentsCallback& callback); | 107 const GetChildDocumentsCallback& callback); |
108 void AddWatcher(const std::string& authority, | 108 void AddWatcher(const std::string& authority, |
109 const std::string& document_id, | 109 const std::string& document_id, |
110 const WatcherCallback& watcher_callback, | 110 const WatcherCallback& watcher_callback, |
111 const AddWatcherCallback& callback); | 111 const AddWatcherCallback& callback); |
112 void RemoveWatcher(int64_t watcher_id, const RemoveWatcherCallback& callback); | 112 void RemoveWatcher(int64_t watcher_id, const RemoveWatcherCallback& callback); |
113 | 113 |
114 // FileSystemHost overrides: | 114 // FileSystemHost overrides: |
115 void OnDocumentChanged(int64_t watcher_id, mojom::ChangeType type) override; | 115 void OnDocumentChanged(int64_t watcher_id, ChangeType type) override; |
116 | 116 |
117 // ArcSessionManager::Observer overrides: | 117 // ArcSessionManager::Observer overrides: |
118 void OnArcPlayStoreEnabledChanged(bool enabled) override; | 118 void OnArcPlayStoreEnabledChanged(bool enabled) override; |
119 | 119 |
120 // InstanceHolder<mojom::FileSystemInstance>::Observer overrides: | 120 // InstanceHolder<mojom::FileSystemInstance>::Observer overrides: |
121 void OnInstanceReady() override; | 121 void OnInstanceReady() override; |
122 void OnInstanceClosed() override; | 122 void OnInstanceClosed() override; |
123 | 123 |
124 private: | 124 private: |
125 friend class ArcFileSystemOperationRunnerTest; | 125 friend class ArcFileSystemOperationRunnerTest; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 mojo::Binding<mojom::FileSystemHost> binding_; | 164 mojo::Binding<mojom::FileSystemHost> binding_; |
165 | 165 |
166 base::WeakPtrFactory<ArcFileSystemOperationRunner> weak_ptr_factory_; | 166 base::WeakPtrFactory<ArcFileSystemOperationRunner> weak_ptr_factory_; |
167 | 167 |
168 DISALLOW_COPY_AND_ASSIGN(ArcFileSystemOperationRunner); | 168 DISALLOW_COPY_AND_ASSIGN(ArcFileSystemOperationRunner); |
169 }; | 169 }; |
170 | 170 |
171 } // namespace arc | 171 } // namespace arc |
172 | 172 |
173 #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_OPERATION_RUNNER_
H_ | 173 #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_OPERATION_RUNNER_
H_ |
OLD | NEW |