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

Unified Diff: chrome/browser/chromeos/file_manager/volume_manager.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_manager/volume_manager.h
diff --git a/chrome/browser/chromeos/file_manager/volume_manager.h b/chrome/browser/chromeos/file_manager/volume_manager.h
index 81166f4f5def4c297f7c3cd2bf796e4daa2a6d5d..33e05542354ad223bf52d3c8436813b5a6961b13 100644
--- a/chrome/browser/chromeos/file_manager/volume_manager.h
+++ b/chrome/browser/chromeos/file_manager/volume_manager.h
@@ -119,6 +119,7 @@ class Volume : public base::SupportsWeakPtr<Volume> {
bool is_read_only() const { return is_read_only_; }
bool has_media() const { return has_media_; }
bool configurable() const { return configurable_; }
+ bool watchable() const { return watchable_; }
private:
Volume();
@@ -183,6 +184,9 @@ class Volume : public base::SupportsWeakPtr<Volume> {
// True if the volume is configurable.
bool configurable_;
+ // True if the volume notifies about changes via file/directory watchers.
+ bool watchable_;
+
DISALLOW_COPY_AND_ASSIGN(Volume);
};

Powered by Google App Engine
This is Rietveld 408576698