| 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_PROVIDED_FILE_SYSTEM_OBSERV
ER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBSERV
ER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBSERV
ER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBSERV
ER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // call the callback, the tag will be updated and OnObservedEntryTagUpdated | 44 // call the callback, the tag will be updated and OnObservedEntryTagUpdated |
| 45 // called. The reference to |child_changes| is valid at least as long as | 45 // called. The reference to |child_changes| is valid at least as long as |
| 46 // |callback|. | 46 // |callback|. |
| 47 virtual void OnObservedEntryChanged( | 47 virtual void OnObservedEntryChanged( |
| 48 const ProvidedFileSystemInfo& file_system_info, | 48 const ProvidedFileSystemInfo& file_system_info, |
| 49 const base::FilePath& observed_path, | 49 const base::FilePath& observed_path, |
| 50 ChangeType change_type, | 50 ChangeType change_type, |
| 51 const ChildChanges& child_changes, | 51 const ChildChanges& child_changes, |
| 52 const base::Closure& callback) = 0; | 52 const base::Closure& callback) = 0; |
| 53 | 53 |
| 54 // Called when tag value is updated for the observed entry. | 54 // Called after the tag value is updated for the observed entry. |
| 55 virtual void OnObservedEntryTagUpdated( | 55 virtual void OnObservedEntryTagUpdated( |
| 56 const ProvidedFileSystemInfo& file_system_info, | 56 const ProvidedFileSystemInfo& file_system_info, |
| 57 const base::FilePath& observed_path, | 57 const base::FilePath& observed_path, |
| 58 const std::string& tag) = 0; | 58 const std::string& tag) = 0; |
| 59 | 59 |
| 60 // Called when list of observed entries is changed. | 60 // Called after the list of observed entries is changed. |
| 61 virtual void OnObservedEntryListChanged( | 61 virtual void OnObservedEntryListChanged( |
| 62 const ProvidedFileSystemInfo& file_system_info, | 62 const ProvidedFileSystemInfo& file_system_info, |
| 63 const ObservedEntries& observed_entries) = 0; | 63 const ObservedEntries& observed_entries) = 0; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace file_system_provider | 66 } // namespace file_system_provider |
| 67 } // namespace chromeos | 67 } // namespace chromeos |
| 68 | 68 |
| 69 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBS
ERVER_H_ | 69 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBS
ERVER_H_ |
| OLD | NEW |