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

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

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.cc
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc
index a35c5c5cb558899e0d2e55b10f8ec27bb307fbdf..607133b49e0348404af7ffcd7dc7ba0eb22cd042 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc
@@ -28,6 +28,7 @@ ProvidedFileSystemInfo::ProvidedFileSystemInfo()
: writable_(false),
supports_notify_tag_(false),
configurable_(false),
+ watchable_(false),
source_(extensions::SOURCE_FILE) {
}
@@ -36,6 +37,7 @@ ProvidedFileSystemInfo::ProvidedFileSystemInfo(
const MountOptions& mount_options,
const base::FilePath& mount_path,
bool configurable,
+ bool watchable,
extensions::FileSystemProviderSource source)
: extension_id_(extension_id),
file_system_id_(mount_options.file_system_id),
@@ -45,6 +47,7 @@ ProvidedFileSystemInfo::ProvidedFileSystemInfo(
opened_files_limit_(mount_options.opened_files_limit),
mount_path_(mount_path),
configurable_(configurable),
+ watchable_(watchable),
source_(source) {
DCHECK_LE(0, mount_options.opened_files_limit);
}

Powered by Google App Engine
This is Rietveld 408576698