Index: modules/filesystem/FileSystemFlags.idl |
diff --git a/modules/filesystem/FileSystemFlags.idl b/modules/filesystem/FileSystemFlags.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..84707ae97d29c04621d565d0f18b38eeb4ab8555 |
--- /dev/null |
+++ b/modules/filesystem/FileSystemFlags.idl |
@@ -0,0 +1,14 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// http://www.w3.org/TR/2012/WD-file-system-api-20120417/ |
+// In the spec, the flags don't have default values, but Blink assumes |
+// that they are false when not specified. |
+ |
+dictionary FileSystemFlags { |
+ // [ImplementedAs] is used to workaround a name conflict; our IDL |
+ // compiler generates create() static method which creates an impl instance. |
+ [ImplementedAs=createFlag] boolean create = false; |
+ boolean exclusive = false; |
+}; |