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

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: Added missing files. 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 f083a91efef4e444f35a671bda8f563b9c2c5d73..b11c86a5ddefea8b979f70f08bffa79c3e15430d 100644
--- a/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
+++ b/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
@@ -16,8 +16,10 @@ class Time;
namespace storage {
class AsyncFileUtil;
class FileSystemContext;
+class FileStreamReader;
class FileSystemURL;
class FileStreamWriter;
+class WatcherManager;
} // namespace storage
namespace storage {
@@ -27,7 +29,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 +50,11 @@ class FileSystemBackendDelegate {
const storage::FileSystemURL& url,
int64 offset,
storage::FileSystemContext* context) = 0;
+
+ // Called from the FileSystemWatcherService class. The returned pointer must
+ // stay valid until shutdown.
+ virtual storage::WatcherManager* GetWatcherManager(
+ const storage::FileSystemURL& url) = 0;
};
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698