| 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 */ | 4 |
| 5 #ifndef LIBRARIES_NACL_IO_MOUNT_HTML5FS_NODE_H_ | 5 #ifndef LIBRARIES_NACL_IO_MOUNT_HTML5FS_NODE_H_ |
| 6 #define LIBRARIES_NACL_IO_MOUNT_HTML5FS_NODE_H_ | 6 #define LIBRARIES_NACL_IO_MOUNT_HTML5FS_NODE_H_ |
| 7 | 7 |
| 8 #include <ppapi/c/pp_resource.h> | 8 #include <ppapi/c/pp_resource.h> |
| 9 #include "nacl_io/mount_node.h" | 9 #include "nacl_io/mount_node.h" |
| 10 | 10 |
| 11 class MountHtml5Fs; | 11 class MountHtml5Fs; |
| 12 | 12 |
| 13 class MountNodeHtml5Fs : public MountNode { | 13 class MountNodeHtml5Fs : public MountNode { |
| 14 public: | 14 public: |
| (...skipping 28 matching lines...) Expand all Loading... |
| 43 | 43 |
| 44 // Returns true if this node is a directory. | 44 // Returns true if this node is a directory. |
| 45 bool IsDirectory() const { | 45 bool IsDirectory() const { |
| 46 return !fileio_resource_; | 46 return !fileio_resource_; |
| 47 } | 47 } |
| 48 | 48 |
| 49 friend class MountHtml5Fs; | 49 friend class MountHtml5Fs; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 #endif // LIBRARIES_NACL_IO_MOUNT_HTML5FS_NODE_H_ | 52 #endif // LIBRARIES_NACL_IO_MOUNT_HTML5FS_NODE_H_ |
| OLD | NEW |