Index: chrome/browser/chromeos/extensions/file_manager/event_router.h |
diff --git a/chrome/browser/chromeos/extensions/file_manager/event_router.h b/chrome/browser/chromeos/extensions/file_manager/event_router.h |
index 51850a8da57c5aa365445067df1ad18c91550666..c160af4eb3358382566a404fdf0e0fe593d02814 100644 |
--- a/chrome/browser/chromeos/extensions/file_manager/event_router.h |
+++ b/chrome/browser/chromeos/extensions/file_manager/event_router.h |
@@ -42,6 +42,10 @@ namespace chromeos { |
class NetworkState; |
} |
+namespace drive { |
+class FileChange; |
+} |
+ |
namespace file_manager { |
// Monitors changes in disk mounts, network connection state and preferences |
@@ -108,7 +112,9 @@ class EventRouter |
virtual void OnRefreshTokenInvalid() OVERRIDE; |
// drive::FileSystemObserver overrides. |
- virtual void OnDirectoryChanged(const base::FilePath& drive_path) OVERRIDE; |
+ virtual void OnDirectoryChanged( |
+ const base::FilePath& drive_path, |
+ const drive::FileChange* changed_files) OVERRIDE; |
virtual void OnDriveSyncError(drive::file_system::DriveSyncErrorType type, |
const base::FilePath& drive_path) OVERRIDE; |
@@ -146,18 +152,22 @@ class EventRouter |
void OnFileManagerPrefsChanged(); |
// Process file watch notifications. |
- void HandleFileWatchNotification(const base::FilePath& path, |
+ void HandleFileWatchNotification(const drive::FileChange* list, |
+ const base::FilePath& path, |
bool got_error); |
// Sends directory change event. |
void DispatchDirectoryChangeEvent( |
const base::FilePath& path, |
- bool error, |
+ const drive::FileChange* list, |
+ bool got_error, |
const std::vector<std::string>& extension_ids); |
// Sends directory change event, after converting the file definition to entry |
// definition. |
void DispatchDirectoryChangeEventWithEntryDefinition( |
+ const linked_ptr<drive::FileChange> list, |
+ const std::string* extension_id, |
bool watcher_error, |
const EntryDefinition& entry_definition); |