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

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

Issue 1221093002: Add support for refreshing contents of providers which don't support watchers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests. Created 5 years, 5 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 f2b51e6e8d4a698a5448aeeb673b3b7d2307040b..677e8397076a6abe5591600b9676858243143e7b 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
@@ -37,6 +37,7 @@ class ProvidedFileSystemInfo {
const MountOptions& mount_options,
const base::FilePath& mount_path,
bool configurable,
+ bool watchable,
extensions::FileSystemProviderSource source);
~ProvidedFileSystemInfo();
@@ -49,6 +50,7 @@ class ProvidedFileSystemInfo {
int opened_files_limit() const { return opened_files_limit_; }
const base::FilePath& mount_path() const { return mount_path_; }
const bool configurable() const { return configurable_; }
+ const bool watchable() const { return watchable_; }
extensions::FileSystemProviderSource source() const { return source_; }
private:
@@ -76,6 +78,9 @@ class ProvidedFileSystemInfo {
// Whether the file system is configurable.
bool configurable_;
+ // Whether the file system is watchable.
+ bool watchable_;
+
// Source of the file system's data.
extensions::FileSystemProviderSource source_;
};

Powered by Google App Engine
This is Rietveld 408576698