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

Unified Diff: chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.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/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h
diff --git a/chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h b/chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h
index dcee62809cf0d165fc38ead6fc34f0cfaa1291bf..762e435a9d5f0f994476edeef0aeda0acf46b023 100644
--- a/chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h
+++ b/chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h
@@ -22,6 +22,7 @@ class FileSystemProviderCapabilities : public Extension::ManifestData {
public:
FileSystemProviderCapabilities();
FileSystemProviderCapabilities(bool configurable,
+ bool watchable,
bool multiple_mounts,
FileSystemProviderSource source);
~FileSystemProviderCapabilities() override;
@@ -31,11 +32,13 @@ class FileSystemProviderCapabilities : public Extension::ManifestData {
static const FileSystemProviderCapabilities* Get(const Extension* extension);
bool configurable() const { return configurable_; }
+ bool watchable() const { return watchable_; }
bool multiple_mounts() const { return multiple_mounts_; }
FileSystemProviderSource source() const { return source_; }
private:
bool configurable_;
+ bool watchable_;
bool multiple_mounts_;
FileSystemProviderSource source_;
};

Powered by Google App Engine
This is Rietveld 408576698