Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: chrome/browser/chromeos/drive/file_system/operation_observer.h

Issue 343073003: Files.app: Provide detailed change information on onDirectoryChanged event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/drive/file_system/operation_observer.h
diff --git a/chrome/browser/chromeos/drive/file_system/operation_observer.h b/chrome/browser/chromeos/drive/file_system/operation_observer.h
index 436c53f01e8e7615ed8d8ef1efa65a445689e603..8fd8a1c4070117c0d578f97fc1641eb08e2a8254 100644
--- a/chrome/browser/chromeos/drive/file_system/operation_observer.h
+++ b/chrome/browser/chromeos/drive/file_system/operation_observer.h
@@ -10,6 +10,8 @@ class FilePath;
}
namespace drive {
+class FileChange;
+
namespace file_system {
// Error type of sync client.
@@ -29,8 +31,7 @@ class OperationObserver {
// Sent when a content of a directory has been changed.
// |directory_path| is a virtual directory path representing the
// changed directory.
- virtual void OnDirectoryChangedByOperation(
- const base::FilePath& directory_path) = 0;
+ virtual void OnFileChangedByOperation(const FileChange& changed_files) = 0;
// Sent when an entry is updated and sync is needed.
virtual void OnEntryUpdatedByOperation(const std::string& local_id) {}

Powered by Google App Engine
This is Rietveld 408576698