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

Side by Side Diff: chrome/common/extensions/api/file_system.idl

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing up Offline/Online Access - Attempting to rework availability algorithm Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Use the <code>chrome.fileSystem</code> module to create, read, navigate,
6 // and write to a sandboxed section of the user's local file system. With this
7 // API, packaged apps can read and write to a user-seleced location. For
8 // example, a text editor app can use the API to read and write local documents.
5 namespace fileSystem { 9 namespace fileSystem {
6 dictionary AcceptOption { 10 dictionary AcceptOption {
7 // This is the optional text description for this option. If not present, 11 // This is the optional text description for this option. If not present,
8 // a description will be automatically generated; typically containing an 12 // a description will be automatically generated; typically containing an
9 // expanded list of valid extensions (e.g. "text/html" may expand to 13 // expanded list of valid extensions (e.g. "text/html" may expand to
10 // "*.html, *.htm"). 14 // "*.html, *.htm").
11 DOMString? description; 15 DOMString? description;
12 16
13 // Mime-types to accept, e.g. "image/jpeg" or "audio/*". One of mimeTypes or 17 // Mime-types to accept, e.g. "image/jpeg" or "audio/*". One of mimeTypes or
14 // extensions must contain at least one valid element. 18 // extensions must contain at least one valid element.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 [nocompile] static FileEntry getEntryById(DOMString id); 84 [nocompile] static FileEntry getEntryById(DOMString id);
81 85
82 // Returns the id of the given file entry. This can be used to retrieve file 86 // Returns the id of the given file entry. This can be used to retrieve file
83 // entries with getEntryById(). When an app is restarted (ie: it is sent the 87 // entries with getEntryById(). When an app is restarted (ie: it is sent the
84 // onRestarted event) it can regain access to the file entries it had by 88 // onRestarted event) it can regain access to the file entries it had by
85 // remembering their ids and calling getEntryById(). 89 // remembering their ids and calling getEntryById().
86 [nocompile] static DOMString getEntryId( 90 [nocompile] static DOMString getEntryId(
87 [instanceOf=FileEntry] object fileEntry); 91 [instanceOf=FileEntry] object fileEntry);
88 }; 92 };
89 }; 93 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698