| Index: content/browser/renderer_host/pepper/pepper_file_ref_host.h
|
| diff --git a/content/browser/renderer_host/pepper/pepper_file_ref_host.h b/content/browser/renderer_host/pepper/pepper_file_ref_host.h
|
| index 480bc31fa54b4a0460fd7ef1c625c7be37da430c..ce742faebfbffcb43ccdd83faae93c259d02cb6f 100644
|
| --- a/content/browser/renderer_host/pepper/pepper_file_ref_host.h
|
| +++ b/content/browser/renderer_host/pepper/pepper_file_ref_host.h
|
| @@ -46,7 +46,10 @@ class PepperFileRefBackend {
|
| virtual base::FilePath GetExternalPath() const = 0;
|
|
|
| // Returns an error from the pp_errors.h enum.
|
| - virtual int32_t HasPermissions(int permissions) const = 0;
|
| + virtual int32_t CanRead() const = 0;
|
| + virtual int32_t CanWrite() const = 0;
|
| + virtual int32_t CanCreate() const = 0;
|
| + virtual int32_t CanReadWrite() const = 0;
|
| };
|
|
|
| class CONTENT_EXPORT PepperFileRefHost
|
| @@ -80,7 +83,10 @@ class CONTENT_EXPORT PepperFileRefHost
|
| std::string GetFileSystemURLSpec() const;
|
| base::FilePath GetExternalPath() const;
|
|
|
| - int32_t HasPermissions(int permissions) const;
|
| + int32_t CanRead() const;
|
| + int32_t CanWrite() const;
|
| + int32_t CanCreate() const;
|
| + int32_t CanReadWrite() const;
|
|
|
| private:
|
| int32_t OnMakeDirectory(ppapi::host::HostMessageContext* context,
|
|
|