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

Unified Diff: tools/json_schema_compiler/idl_schema.py

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: tools/json_schema_compiler/idl_schema.py
diff --git a/tools/json_schema_compiler/idl_schema.py b/tools/json_schema_compiler/idl_schema.py
index 58efe28598f1660e9f4481e412f30fa715195668..c26b7ba425ac496c610b3094a26da87e1088fc2f 100755
--- a/tools/json_schema_compiler/idl_schema.py
+++ b/tools/json_schema_compiler/idl_schema.py
@@ -303,9 +303,9 @@ class Typeref(object):
elif self.typeref == 'ArrayBuffer':
properties['type'] = 'binary'
properties['isInstanceOf'] = 'ArrayBuffer'
- elif self.typeref == 'FileEntry':
+ elif self.typeref == 'FileSystemFileEntry':
properties['type'] = 'object'
- properties['isInstanceOf'] = 'FileEntry'
+ properties['isInstanceOf'] = 'FileSystemFileEntry'
if 'additionalProperties' not in properties:
properties['additionalProperties'] = OrderedDict()
properties['additionalProperties']['type'] = 'any'
« no previous file with comments | « third_party/closure_compiler/externs/file_manager_private.js ('k') | ui/file_manager/file_manager/common/js/mock_entry.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698