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

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

Issue 581303002: Restrict the File System Provier API permission to Chrome OS only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a notice. Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698