OLD | NEW |
| 1 <p class="caution"> |
| 2 <b>Important:</b> |
| 3 This API works <b>only on Chrome OS</b>. |
| 4 </p> |
| 5 |
1 <h2 id="manifest">Manifest</h2> | 6 <h2 id="manifest">Manifest</h2> |
2 <p>You must declare the "fileSystemProvider" permission | 7 <p>You must declare the "fileSystemProvider" permission |
3 in the <a href="manifest">extension manifest</a> | 8 in the <a href="manifest">extension manifest</a> |
4 to use the File System Provider API. | 9 to use the File System Provider API. |
5 For example:</p> | 10 For example:</p> |
6 <pre data-filename="manifest.json"> | 11 <pre data-filename="manifest.json"> |
7 { | 12 { |
8 "name": "My extension", | 13 "name": "My extension", |
9 ... | 14 ... |
10 <b>"permissions": [ | 15 <b>"permissions": [ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 <a href="#method-unmount"> unmount</a> method. | 50 <a href="#method-unmount"> unmount</a> method. |
46 </p> | 51 </p> |
47 <p> | 52 <p> |
48 In case of acting as a file handler, the handled file may need to be stored | 53 In case of acting as a file handler, the handled file may need to be stored |
49 to access it after either a reboot, or suspending and resuming an event page | 54 to access it after either a reboot, or suspending and resuming an event page |
50 of the providing extension. In such case | 55 of the providing extension. In such case |
51 <a href="fileSystem#method-retainEntry">chrome.fileSystem.retainEntry</a> and | 56 <a href="fileSystem#method-retainEntry">chrome.fileSystem.retainEntry</a> and |
52 <a href="fileSystem#method-restoreEntry">chrome.fileSystem.restoreEntry</a> | 57 <a href="fileSystem#method-restoreEntry">chrome.fileSystem.restoreEntry</a> |
53 should be used. | 58 should be used. |
54 </p> | 59 </p> |
OLD | NEW |