Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2009 The Closure Compiler Authors | 2 * Copyright 2009 The Closure Compiler Authors |
| 3 * | 3 * |
| 4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
| 6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
| 7 * | 7 * |
| 8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 * | 9 * |
| 10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
| (...skipping 6809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6820 * accepts: (!Array.<!chrome.fileSystem.AcceptsOption>|undefined), | 6820 * accepts: (!Array.<!chrome.fileSystem.AcceptsOption>|undefined), |
| 6821 * acceptsAllTypes: (boolean|undefined), | 6821 * acceptsAllTypes: (boolean|undefined), |
| 6822 * acceptsMultiple: (boolean|undefined) | 6822 * acceptsMultiple: (boolean|undefined) |
| 6823 * }} | 6823 * }} |
| 6824 * @see http://developer.chrome.com/apps/fileSystem.html#method-chooseEntry | 6824 * @see http://developer.chrome.com/apps/fileSystem.html#method-chooseEntry |
| 6825 */ | 6825 */ |
| 6826 chrome.fileSystem.ChooseEntryOptions; | 6826 chrome.fileSystem.ChooseEntryOptions; |
| 6827 | 6827 |
| 6828 | 6828 |
| 6829 /** | 6829 /** |
| 6830 * @typedef {?{ | |
| 6831 * volumeId: string, | |
| 6832 * writable: (boolean|undefined) | |
| 6833 * }} | |
| 6834 * @see http://developer.chrome.com/apps/fileSystem.html#method-requestFileSyste m | |
| 6835 */ | |
| 6836 chrome.fileSystem.RequestFileSystemOptions; | |
|
Dan Beam
2015/03/25 23:00:19
this is a generated file, changes to it will be lo
| |
| 6837 | |
| 6838 | |
| 6839 /** | |
| 6830 * @param {!chrome.fileSystem.ChooseEntryOptions| | 6840 * @param {!chrome.fileSystem.ChooseEntryOptions| |
| 6831 * function(Entry=, !Array.<!FileEntry>=)} optionsOrCallback The | 6841 * function(Entry=, !Array.<!FileEntry>=)} optionsOrCallback The |
| 6832 * options for the file prompt or the callback. | 6842 * options for the file prompt or the callback. |
| 6833 * @param {function(Entry=, !Array.<!FileEntry>=)=} opt_callback A success | 6843 * @param {function(Entry=, !Array.<!FileEntry>=)=} opt_callback A success |
| 6834 * callback, if arg1 is options. | 6844 * callback, if arg1 is options. |
| 6835 * @see http://developer.chrome.com/apps/fileSystem.html#method-chooseEntry | 6845 * @see http://developer.chrome.com/apps/fileSystem.html#method-chooseEntry |
| 6836 */ | 6846 */ |
| 6837 chrome.fileSystem.chooseEntry = function(optionsOrCallback, opt_callback) {}; | 6847 chrome.fileSystem.chooseEntry = function(optionsOrCallback, opt_callback) {}; |
| 6838 | 6848 |
| 6839 | 6849 |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 6856 /** | 6866 /** |
| 6857 * @param {!Entry} entry The entry to regain access to. | 6867 * @param {!Entry} entry The entry to regain access to. |
| 6858 * @return {string} The ID that can be passed to restoreEntry to regain access | 6868 * @return {string} The ID that can be passed to restoreEntry to regain access |
| 6859 * to the given file entry. | 6869 * to the given file entry. |
| 6860 * @see http://developer.chrome.com/apps/fileSystem.html#method-retainEntry | 6870 * @see http://developer.chrome.com/apps/fileSystem.html#method-retainEntry |
| 6861 */ | 6871 */ |
| 6862 chrome.fileSystem.retainEntry = function(entry) {}; | 6872 chrome.fileSystem.retainEntry = function(entry) {}; |
| 6863 | 6873 |
| 6864 | 6874 |
| 6865 /** | 6875 /** |
| 6876 * @param {!chrome.fileSystem.RequestFileSystemOptions} options Options for the | |
| 6877 * request. | |
| 6878 * @param {!function(FileSystem)} callback A completion callback. | |
| 6879 * @see http://developer.chrome.com/apps/fileSystem.html#method-requestFileSyste m | |
| 6880 */ | |
| 6881 chrome.fileSystem.requestFileSystem = function(options, callback) {}; | |
| 6882 | |
| 6883 | |
| 6884 /** | |
| 6866 * @const | 6885 * @const |
| 6867 * @see https://developer.chrome.com/apps/syncFileSystem | 6886 * @see https://developer.chrome.com/apps/syncFileSystem |
| 6868 */ | 6887 */ |
| 6869 chrome.syncFileSystem = {}; | 6888 chrome.syncFileSystem = {}; |
| 6870 | 6889 |
| 6871 | 6890 |
| 6872 /** | 6891 /** |
| 6873 * Returns a syncable filesystem backed by Google Drive. The returned | 6892 * Returns a syncable filesystem backed by Google Drive. The returned |
| 6874 * DOMFileSystem instance can be operated on in the same way as | 6893 * DOMFileSystem instance can be operated on in the same way as |
| 6875 * the Temporary and Persistant file systems (see | 6894 * the Temporary and Persistant file systems (see |
| (...skipping 1931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8807 | 8826 |
| 8808 | 8827 |
| 8809 /** | 8828 /** |
| 8810 * Installs the given app ID. | 8829 * Installs the given app ID. |
| 8811 * @param {string} id | 8830 * @param {string} id |
| 8812 * @param {function(string, string): void=} opt_callback Response callback that | 8831 * @param {function(string, string): void=} opt_callback Response callback that |
| 8813 * returns two string: (1) an error string (or empty string on success) and | 8832 * returns two string: (1) an error string (or empty string on success) and |
| 8814 * (2) an error code in case of error | 8833 * (2) an error code in case of error |
| 8815 */ | 8834 */ |
| 8816 chrome.inlineInstallPrivate.install = function(id, opt_callback) {}; | 8835 chrome.inlineInstallPrivate.install = function(id, opt_callback) {}; |
| OLD | NEW |