summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/cpp')
-rw-r--r--ppapi/cpp/file_system.cc3
-rw-r--r--ppapi/cpp/file_system.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/ppapi/cpp/file_system.cc b/ppapi/cpp/file_system.cc
index b5ee1f3..8499dfd 100644
--- a/ppapi/cpp/file_system.cc
+++ b/ppapi/cpp/file_system.cc
@@ -21,6 +21,9 @@ template <> const char* interface_name<PPB_FileSystem>() {
} // namespace
+FileSystem::FileSystem() {
+}
+
FileSystem::FileSystem(Instance* instance,
PP_FileSystemType type) {
if (!has_interface<PPB_FileSystem>())
diff --git a/ppapi/cpp/file_system.h b/ppapi/cpp/file_system.h
index 1c213d6..fc789359 100644
--- a/ppapi/cpp/file_system.h
+++ b/ppapi/cpp/file_system.h
@@ -26,6 +26,10 @@ class FileRef;
/// associated with a file.
class FileSystem : public Resource {
public:
+ /// Constructs an is_null() filesystem resource. If you use this constructor,
+ /// you will have to assign it to a "real" FileSystem object before you can
+ /// use it.
+ FileSystem();
/// This constructor creates a file system object of the given type.
///