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

Unified Diff: chrome/browser/chromeos/fileapi/file_system_backend_delegate.h

Issue 452043003: [ew] Add basic classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up. Created 6 years, 4 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/fileapi/file_system_backend_delegate.h
diff --git a/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h b/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
index 5fcda496c73ae43fb0bfb977aee77488648aef04..8cc6df6cca5abd2febc7b520850d095d8c9468e0 100644
--- a/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
+++ b/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
@@ -15,9 +15,10 @@ class Time;
namespace fileapi {
class AsyncFileUtil;
+class FileStreamWriter;
class FileSystemContext;
class FileSystemURL;
-class FileStreamWriter;
+class WatcherManager;
} // namespace fileapi
namespace webkit_blob {
@@ -27,7 +28,7 @@ class FileStreamReader;
namespace chromeos {
// This is delegate interface to inject the implementation of the some methods
-// of FileSystemBackend. The main goal is to inject Drive File System.
+// of FileSystemBackend.
class FileSystemBackendDelegate {
public:
virtual ~FileSystemBackendDelegate() {}
@@ -48,6 +49,11 @@ class FileSystemBackendDelegate {
const fileapi::FileSystemURL& url,
int64 offset,
fileapi::FileSystemContext* context) = 0;
+
+ // Called from the FileSystemWatcherService class. The returned pointer must
+ // stay valid until shutdown.
+ virtual fileapi::WatcherManager* GetWatcherManager(
+ const fileapi::FileSystemURL& url) = 0;
};
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698