| 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_NODE_MEM_H_ | 5 #ifndef LIBRARIES_NACL_IO_MOUNT_NODE_MEM_H_ |
| 6 #define LIBRARIES_NACL_IO_MOUNT_NODE_MEM_H_ | 6 #define LIBRARIES_NACL_IO_MOUNT_NODE_MEM_H_ |
| 7 | 7 |
| 8 #include "nacl_io/mount_node.h" | 8 #include "nacl_io/mount_node.h" |
| 9 | 9 |
| 10 namespace nacl_io { | 10 namespace nacl_io { |
| 11 | 11 |
| 12 class MountNodeMem : public MountNode { | 12 class MountNodeMem : public MountNode { |
| 13 public: | 13 public: |
| 14 explicit MountNodeMem(Mount* mount); | 14 explicit MountNodeMem(Mount* mount); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 char* data_; | 29 char* data_; |
| 30 size_t capacity_; | 30 size_t capacity_; |
| 31 friend class MountMem; | 31 friend class MountMem; |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 } // namespace nacl_io | 34 } // namespace nacl_io |
| 35 | 35 |
| 36 #endif // LIBRARIES_NACL_IO_MOUNT_NODE_MEM_H_ | 36 #endif // LIBRARIES_NACL_IO_MOUNT_NODE_MEM_H_ |
| OLD | NEW |