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

Unified Diff: chrome/common/extensions/docs/templates/intros/fileSystemProvider.html

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/docs/templates/intros/fileSystemProvider.html
diff --git a/chrome/common/extensions/docs/templates/intros/fileSystemProvider.html b/chrome/common/extensions/docs/templates/intros/fileSystemProvider.html
index ea49a4bc8ec5f457497d62873b27578093b3b2ba..3b61a8b79d096295e0d4f841ba24a296a77fdc71 100644
--- a/chrome/common/extensions/docs/templates/intros/fileSystemProvider.html
+++ b/chrome/common/extensions/docs/templates/intros/fileSystemProvider.html
@@ -13,6 +13,7 @@ For example:</p>
...
"file_system_provider_capabilities": {
"configurable": true,
+ "watchable": false,
"multiple_mounts": true,
<span id="manifest-source">"source": "network"</span>
},
@@ -30,7 +31,10 @@ Files app uses above information in order to render related UI elements
approprietly. For example, if <code>configurable</code> is set to
</code>true</code>, then a menu item for configuring volumes will be rendered.
Similarly, if <code>multiple_mounts</code> is set to <code>true</code>, then
-Files app will allow to add more than one mount points from the UI.
+Files app will allow to add more than one mount points from the UI. If
+<code>watchable</code> is <code>false</code>, then a refresh button will be
+rendered. Note, that if possible you should add support for watchers, so
+changes on the file system can be reflected immediately and automatically.
</p>
<h2 id="overview">Overview</h2>
« no previous file with comments | « chrome/common/extensions/api/manifest_types.json ('k') | chrome/test/data/extensions/api_test/file_browser/mount_test/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698