| Index: tools/dom/templates/html/impl/impl_Window.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| index d8d90d610417447acfb9a3423f784baee18a2522..2f1c19438ab4c468e5fbda46b2cdff58ddf05a0b 100644
|
| --- a/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| @@ -225,5 +225,16 @@ $else
|
| }
|
| $endif
|
|
|
| + /**
|
| + * Access a sandboxed file system of the specified `size`. If `persistent` is
|
| + * true, the application will request permission from the user to create
|
| + * lasting storage. This storage cannot be freed without the user's
|
| + * permission. Returns a [Future] whose value stores a reference to the
|
| + * sandboxed file system for use. Because the file system is sandboxed,
|
| + * applications cannot access file systems created in other web pages.
|
| + */
|
| + Future<FileSystem> requestFileSystem(int size, {bool persistent: false}) {
|
| + return _requestFileSystem(persistent? 1 : 0, size);
|
| + }
|
| $!MEMBERS
|
| }
|
|
|