Commit d5dfc9a8 authored by cmihail's avatar cmihail Committed by Commit bot

Add fileSystemProvider API extension example.

A simple cloud extension example that uses the file system provider API
This example is different from https://codereview.chromium.org/360673004
as it is an extension and not an app.

BUG=415847

R=mtomasz@chromium.org

Review URL: https://codereview.chromium.org/587293002

Cr-Commit-Position: refs/heads/master@{#296579}
parent d95e2fff
{ {
"name": "Fake Archive Handler", "name": "Fake Archive Handler App",
"version": "0.1", "version": "0.1",
"manifest_version": 2, "manifest_version": 2,
"description": "Demonstrate File System Provider API usage for archives.", "description": "Demonstrate File System Provider API usage for apps.",
"permissions": [ "permissions": [
"fileSystemProvider", "fileSystemProvider",
{"fileSystem": ["retainEntries"]}, {"fileSystem": ["retainEntries"]},
......
{ {
"name": "File System Provider API Example", "name": "File System Provider API Extension Example",
"version": "0.1", "version": "0.1",
"manifest_version": 2, "manifest_version": 2,
"description": "description":
"Demonstrate features of the API like mounting, listing directories, etc", "Demonstrate features of the API like mounting, listing directories, etc for extensions.",
"permissions": [ "permissions": [
"fileSystemProvider" "fileSystemProvider"
], ],
"app": { "background": {
"background": { "scripts": [
"scripts": [ "background.js"
"background.js" ]
]
}
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment