| Index: ppapi/cpp/private/flash_file.h
|
| ===================================================================
|
| --- ppapi/cpp/private/flash_file.h (revision 171259)
|
| +++ ppapi/cpp/private/flash_file.h (working copy)
|
| @@ -24,6 +24,9 @@
|
| // Returns true if the required interface is available.
|
| static bool IsAvailable();
|
|
|
| + static bool CreateThreadAdapterForInstance(const InstanceHandle& instance);
|
| + static void ClearThreadAdapterForInstance(const InstanceHandle& instance);
|
| +
|
| // Returns |PP_kInvalidFileHandle| on error.
|
| static PP_FileHandle OpenFile(const InstanceHandle& instance,
|
| const std::string& path,
|
| @@ -48,6 +51,9 @@
|
| const std::string& path,
|
| std::vector<DirEntry>* dir_contents);
|
|
|
| + // Returns true if |CreateTemporaryFile()| is supported.
|
| + // TODO(viettrungluu): Remove this sometime after M21 ships to Stable?
|
| + static bool IsCreateTemporaryFileAvailable();
|
| // Returns |PP_kInvalidFileHandle| on error.
|
| static PP_FileHandle CreateTemporaryFile(const InstanceHandle& instance);
|
| };
|
|
|