| Index: trunk/src/content/child/fileapi/file_system_dispatcher.cc
|
| ===================================================================
|
| --- trunk/src/content/child/fileapi/file_system_dispatcher.cc (revision 233010)
|
| +++ trunk/src/content/child/fileapi/file_system_dispatcher.cc (working copy)
|
| @@ -351,6 +351,23 @@
|
| request_id, path, last_access_time, last_modified_time));
|
| }
|
|
|
| +void FileSystemDispatcher::OpenPepperFile(
|
| + const GURL& file_path,
|
| + int pp_open_flags,
|
| + const OpenFileCallback& success_callback,
|
| + const StatusCallback& error_callback) {
|
| + int request_id = dispatchers_.Add(
|
| + CallbackDispatcher::Create(success_callback, error_callback));
|
| + ChildThread::current()->Send(
|
| + new FileSystemHostMsg_OpenPepperFile(
|
| + request_id, file_path, pp_open_flags));
|
| +}
|
| +
|
| +void FileSystemDispatcher::NotifyCloseFile(int file_open_id) {
|
| + ChildThread::current()->Send(
|
| + new FileSystemHostMsg_NotifyCloseFile(file_open_id));
|
| +}
|
| +
|
| void FileSystemDispatcher::CreateSnapshotFile(
|
| const GURL& file_path,
|
| const CreateSnapshotFileCallback& success_callback,
|
|
|