Chromium Code Reviews| Index: webkit/plugins/ppapi/ppb_file_io_impl.h |
| diff --git a/webkit/plugins/ppapi/ppb_file_io_impl.h b/webkit/plugins/ppapi/ppb_file_io_impl.h |
| index 327f713c9c508241a6e5540ca394ed3fd2211276..8c9ce18e7670a55dd6cba63c7c92fa353a0375e9 100644 |
| --- a/webkit/plugins/ppapi/ppb_file_io_impl.h |
| +++ b/webkit/plugins/ppapi/ppb_file_io_impl.h |
| @@ -29,6 +29,7 @@ namespace ppapi { |
| class PluginModule; |
| class PPB_FileRef_Impl; |
| +class QuotaFileIO; |
| class PPB_FileIO_Impl : public Resource, |
| public ::ppapi::thunk::PPB_FileIO_API { |
| @@ -74,6 +75,7 @@ class PPB_FileIO_Impl : public Resource, |
| ~CallbackEntry(); |
| scoped_refptr<TrackedCompletionCallback> callback; |
| + |
| // Pointer back to the caller's read buffer; only used by |Read()|. |
| // Not owned. |
| char* read_buffer; |
| @@ -109,8 +111,7 @@ class PPB_FileIO_Impl : public Resource, |
| // |read_buffer| is only used by read operations. |
| void RegisterCallback(OperationType op, |
| PP_CompletionCallback callback, |
| - char* rend_buffer); |
| - |
| + char* read_buffer); |
| void RunAndRemoveFirstPendingCallback(int32_t result); |
| void StatusCallback(base::PlatformFileError error_code); |
| @@ -127,6 +128,9 @@ class PPB_FileIO_Impl : public Resource, |
| base::PlatformFile file_; |
| PP_FileSystemType file_system_type_; |
| + // Valid only for PP_FILESYSTEMTYPE_LOCAL{PERSISTENT,TEMPORARY}. |
| + GURL file_system_url_; |
| + |
| std::queue<CallbackEntry> callbacks_; |
| OperationType pending_op_; |
| @@ -134,6 +138,8 @@ class PPB_FileIO_Impl : public Resource, |
| // pending for it. |
| PP_FileInfo* info_; |
| + scoped_ptr<QuotaFileIO> quota_file_io_; |
|
brettw
2011/07/26 16:40:14
It looks like you use the existence of this pointe
kinuko
2011/07/27 09:33:14
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(PPB_FileIO_Impl); |
| }; |