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

Unified Diff: chrome/browser/chromeos/file_system_provider/provided_file_system_info.h

Issue 625463002: [fsp] Add support for observing entries and notifying about changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 2 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/file_system_provider/provided_file_system_info.h
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h
index 60b80fd027df3ef6fa67a52cc65cc12f17e70fc2..b863ed7d6edf4fbb41c4f70c7b61a2296243a628 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h
@@ -19,7 +19,8 @@ class ProvidedFileSystemInfo {
ProvidedFileSystemInfo(const std::string& extension_id,
const std::string& file_system_id,
const std::string& display_name,
- const bool writable,
+ bool writable,
+ bool supports_notify_tag,
const base::FilePath& mount_path);
~ProvidedFileSystemInfo();
@@ -28,6 +29,7 @@ class ProvidedFileSystemInfo {
const std::string& file_system_id() const { return file_system_id_; }
const std::string& display_name() const { return display_name_; }
bool writable() const { return writable_; }
+ bool supports_notify_tag() const { return supports_notify_tag_; }
const base::FilePath& mount_path() const { return mount_path_; }
private:
@@ -43,6 +45,9 @@ class ProvidedFileSystemInfo {
// Whether the file system is writable or just read-only.
bool writable_;
+ // Supports tags for file/directory change notifications.
+ bool supports_notify_tag_;
+
// Mount path of the underlying file system.
base::FilePath mount_path_;
};

Powered by Google App Engine
This is Rietveld 408576698