| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 */ | |
| 5 | 4 |
| 6 #include "nacl_io/mount_node_html5fs.h" | 5 #include "nacl_io/mount_node_html5fs.h" |
| 7 | 6 |
| 8 #include <errno.h> | 7 #include <errno.h> |
| 9 #include <fcntl.h> | 8 #include <fcntl.h> |
| 10 #include <ppapi/c/pp_completion_callback.h> | 9 #include <ppapi/c/pp_completion_callback.h> |
| 11 #include <ppapi/c/pp_directory_entry.h> | 10 #include <ppapi/c/pp_directory_entry.h> |
| 12 #include <ppapi/c/pp_errors.h> | 11 #include <ppapi/c/pp_errors.h> |
| 13 #include <ppapi/c/pp_file_info.h> | 12 #include <ppapi/c/pp_file_info.h> |
| 14 #include <ppapi/c/ppb_file_io.h> | 13 #include <ppapi/c/ppb_file_io.h> |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 mount_->ppapi()->GetFileIoInterface()->Close(fileio_resource_); | 297 mount_->ppapi()->GetFileIoInterface()->Close(fileio_resource_); |
| 299 mount_->ppapi()->ReleaseResource(fileio_resource_); | 298 mount_->ppapi()->ReleaseResource(fileio_resource_); |
| 300 } | 299 } |
| 301 | 300 |
| 302 mount_->ppapi()->ReleaseResource(fileref_resource_); | 301 mount_->ppapi()->ReleaseResource(fileref_resource_); |
| 303 fileio_resource_ = 0; | 302 fileio_resource_ = 0; |
| 304 fileref_resource_ = 0; | 303 fileref_resource_ = 0; |
| 305 MountNode::Destroy(); | 304 MountNode::Destroy(); |
| 306 } | 305 } |
| 307 | 306 |
| OLD | NEW |