| Index: chrome/renderer/resources/extensions/sync_file_system_custom_bindings.js
|
| diff --git a/chrome/renderer/resources/extensions/sync_file_system_custom_bindings.js b/chrome/renderer/resources/extensions/sync_file_system_custom_bindings.js
|
| index 2150e385e7042bf16cf41a11b84c7165bebbfb8c..9e4fdddd42697107688f76b04ef98ecf50c06823 100644
|
| --- a/chrome/renderer/resources/extensions/sync_file_system_custom_bindings.js
|
| +++ b/chrome/renderer/resources/extensions/sync_file_system_custom_bindings.js
|
| @@ -13,7 +13,7 @@ var syncFileSystemNatives = requireNative('sync_file_system');
|
| binding.registerCustomHook(function(bindingsAPI) {
|
| var apiFunctions = bindingsAPI.apiFunctions;
|
|
|
| - // Functions which take in an [instanceOf=FileEntry].
|
| + // Functions which take in an [instanceOf=FileSystemFileEntry].
|
| function bindFileEntryFunction(functionName) {
|
| apiFunctions.setUpdateArgumentsPostValidate(
|
| functionName, function(entry, callback) {
|
| @@ -23,7 +23,7 @@ binding.registerCustomHook(function(bindingsAPI) {
|
| }
|
| $Array.forEach(['getFileStatus'], bindFileEntryFunction);
|
|
|
| - // Functions which take in a FileEntry array.
|
| + // Functions which take in a FileSystemFileEntry array.
|
| function bindFileEntryArrayFunction(functionName) {
|
| apiFunctions.setUpdateArgumentsPostValidate(
|
| functionName, function(entries, callback) {
|
| @@ -36,7 +36,7 @@ binding.registerCustomHook(function(bindingsAPI) {
|
| }
|
| $Array.forEach(['getFileStatuses'], bindFileEntryArrayFunction);
|
|
|
| - // Functions which take in an [instanceOf=DOMFileSystem].
|
| + // Functions which take in an [instanceOf=FileSystem].
|
| function bindFileSystemFunction(functionName) {
|
| apiFunctions.setUpdateArgumentsPostValidate(
|
| functionName, function(filesystem, callback) {
|
| @@ -46,7 +46,7 @@ binding.registerCustomHook(function(bindingsAPI) {
|
| }
|
| $Array.forEach(['getUsageAndQuota'], bindFileSystemFunction);
|
|
|
| - // Functions which return an [instanceOf=DOMFileSystem].
|
| + // Functions which return an [instanceOf=FileSystem].
|
| apiFunctions.setCustomCallback('requestFileSystem',
|
| function(name, request, callback, response) {
|
| var result = null;
|
| @@ -59,7 +59,7 @@ binding.registerCustomHook(function(bindingsAPI) {
|
| });
|
|
|
| // Functions which return an array of FileStatusInfo object
|
| - // which has [instanceOf=FileEntry].
|
| + // which has [instanceOf=FileSystemFileEntry].
|
| apiFunctions.setCustomCallback('getFileStatuses',
|
| function(name, request, callback, response) {
|
| var results = [];
|
| @@ -85,7 +85,7 @@ binding.registerCustomHook(function(bindingsAPI) {
|
|
|
| eventBindings.registerArgumentMassager(
|
| 'syncFileSystem.onFileStatusChanged', function(args, dispatch) {
|
| - // Make FileEntry object using all the base string fields.
|
| + // Make FileSystemFileEntry object using all the base string fields.
|
| var fileEntry = fileSystemNatives.GetFileEntry(
|
| args[0].fileSystemType,
|
| args[0].fileSystemName,
|
|
|