| Index: ppapi/cpp/private/flash_file.h
|
| diff --git a/ppapi/cpp/private/flash_file.h b/ppapi/cpp/private/flash_file.h
|
| index 04ab195eeb32168f4e55edd4cb3067b07eb2b14e..a7c655a29c39ddbf169b4fd021542f838ee80324 100644
|
| --- a/ppapi/cpp/private/flash_file.h
|
| +++ b/ppapi/cpp/private/flash_file.h
|
| @@ -24,6 +24,9 @@ class FileModuleLocal {
|
| // 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 @@ class FileModuleLocal {
|
| 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);
|
| };
|
|
|