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

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: Minor changes Created 7 years, 8 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.
9
5 namespace fileSystem { 10 namespace fileSystem {
6 dictionary AcceptOption { 11 dictionary AcceptOption {
7 // This is the optional text description for this option. If not present, 12 // This is the optional text description for this option. If not present,
8 // a description will be automatically generated; typically containing an 13 // a description will be automatically generated; typically containing an
9 // expanded list of valid extensions (e.g. "text/html" may expand to 14 // expanded list of valid extensions (e.g. "text/html" may expand to
10 // "*.html, *.htm"). 15 // "*.html, *.htm").
11 DOMString? description; 16 DOMString? description;
12 17
13 // Mime-types to accept, e.g. "image/jpeg" or "audio/*". One of mimeTypes or 18 // Mime-types to accept, e.g. "image/jpeg" or "audio/*". One of mimeTypes or
14 // extensions must contain at least one valid element. 19 // 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); 85 [nocompile] static FileEntry getEntryById(DOMString id);
81 86
82 // Returns the id of the given file entry. This can be used to retrieve file 87 // 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 88 // 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 89 // onRestarted event) it can regain access to the file entries it had by
85 // remembering their ids and calling getEntryById(). 90 // remembering their ids and calling getEntryById().
86 [nocompile] static DOMString getEntryId( 91 [nocompile] static DOMString getEntryId(
87 [instanceOf=FileEntry] object fileEntry); 92 [instanceOf=FileEntry] object fileEntry);
88 }; 93 };
89 }; 94 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698