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