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

Unified Diff: chrome/browser/chromeos/drive/file_system_observer.h

Issue 137903002: Files.app: Add a drive sync error event to the fileBrowserPrivate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typo. Created 6 years, 11 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 1aa6127584c5573994d573fd5e18e5c3b2067dbd..4f9300b57d2f6197f84dd85f68137b4b246d6c9a 100644
--- a/chrome/browser/chromeos/drive/file_system_observer.h
+++ b/chrome/browser/chromeos/drive/file_system_observer.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OBSERVER_H_
#include "chrome/browser/chromeos/drive/file_errors.h"
+#include "chrome/browser/chromeos/drive/file_system/operation_observer.h"
namespace base {
class FilePath;
@@ -23,6 +24,9 @@ class FileSystemObserver {
// changed directory.
virtual void OnDirectoryChanged(const base::FilePath& directory_path) {}
+ // Triggared when a specific drive error occurred.
+ virtual void OnDriveSyncError(file_system::DriveSyncErrorType type) {}
+
protected:
virtual ~FileSystemObserver() {}
};

Powered by Google App Engine
This is Rietveld 408576698