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

Unified Diff: chrome/browser/chromeos/drive/file_system_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_observer.h
diff --git a/chrome/browser/chromeos/drive/file_system_observer.h b/chrome/browser/chromeos/drive/file_system_observer.h
index 1a29e6a88cf11c75d21c3005a3ab31044f82cb4b..dd9df2a632d169b164146be7ad4925e1c863791a 100644
--- a/chrome/browser/chromeos/drive/file_system_observer.h
+++ b/chrome/browser/chromeos/drive/file_system_observer.h
@@ -14,6 +14,8 @@ class FilePath;
namespace drive {
+class FileChange;
+
// Interface for classes that need to observe events from classes implementing
// FileSystemInterface.
// All events are notified on UI thread.
@@ -23,6 +25,7 @@ class FileSystemObserver {
// |directory_path| is a virtual directory path (/drive/...) representing
// changed directory.
virtual void OnDirectoryChanged(const base::FilePath& directory_path) {}
+ virtual void OnFileChanged(const FileChange& file_change) {}
// Triggared when a specific drive error occurred.
// |type| is a type of the error. |file_name| is a virtual path of the entry.

Powered by Google App Engine
This is Rietveld 408576698