OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FILE_SYSTEM_PROVIDER_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 extensions::UnloadedExtensionInfo::Reason reason) override; | 126 extensions::UnloadedExtensionInfo::Reason reason) override; |
127 virtual void OnExtensionLoaded( | 127 virtual void OnExtensionLoaded( |
128 content::BrowserContext* browser_context, | 128 content::BrowserContext* browser_context, |
129 const extensions::Extension* extension) override; | 129 const extensions::Extension* extension) override; |
130 | 130 |
131 // ProvidedFileSystemInterface::Observer overrides. | 131 // ProvidedFileSystemInterface::Observer overrides. |
132 virtual void OnObservedEntryChanged( | 132 virtual void OnObservedEntryChanged( |
133 const ProvidedFileSystemInfo& file_system_info, | 133 const ProvidedFileSystemInfo& file_system_info, |
134 const ObservedEntry& observed_entry, | 134 const ObservedEntry& observed_entry, |
135 ProvidedFileSystemObserver::ChangeType change_type, | 135 ProvidedFileSystemObserver::ChangeType change_type, |
136 const ProvidedFileSystemObserver::ChildChanges& child_changes, | 136 const ProvidedFileSystemObserver::Changes& changes, |
137 const base::Closure& callback) override; | 137 const base::Closure& callback) override; |
138 virtual void OnObservedEntryTagUpdated( | 138 virtual void OnObservedEntryTagUpdated( |
139 const ProvidedFileSystemInfo& file_system_info, | 139 const ProvidedFileSystemInfo& file_system_info, |
140 const ObservedEntry& observed_entry) override; | 140 const ObservedEntry& observed_entry) override; |
141 virtual void OnObservedEntryListChanged( | 141 virtual void OnObservedEntryListChanged( |
142 const ProvidedFileSystemInfo& file_system_info, | 142 const ProvidedFileSystemInfo& file_system_info, |
143 const ObservedEntries& observed_entries) override; | 143 const ObservedEntries& observed_entries) override; |
144 | 144 |
145 private: | 145 private: |
146 FRIEND_TEST_ALL_PREFIXES(FileSystemProviderServiceTest, RememberFileSystem); | 146 FRIEND_TEST_ALL_PREFIXES(FileSystemProviderServiceTest, RememberFileSystem); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 base::ThreadChecker thread_checker_; | 182 base::ThreadChecker thread_checker_; |
183 | 183 |
184 base::WeakPtrFactory<Service> weak_ptr_factory_; | 184 base::WeakPtrFactory<Service> weak_ptr_factory_; |
185 DISALLOW_COPY_AND_ASSIGN(Service); | 185 DISALLOW_COPY_AND_ASSIGN(Service); |
186 }; | 186 }; |
187 | 187 |
188 } // namespace file_system_provider | 188 } // namespace file_system_provider |
189 } // namespace chromeos | 189 } // namespace chromeos |
190 | 190 |
191 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_H_ | 191 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_H_ |
OLD | NEW |