| 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_KERNEL_HANDLE_H_ | 5 #ifndef LIBRARIES_NACL_IO_KERNEL_HANDLE_H_ |
| 6 #define LIBRARIES_NACL_IO_KERNEL_HANDLE_H_ | 6 #define LIBRARIES_NACL_IO_KERNEL_HANDLE_H_ |
| 7 | 7 |
| 8 #include <pthread.h> | 8 #include <pthread.h> |
| 9 | 9 |
| 10 #include "nacl_io/error.h" | 10 #include "nacl_io/error.h" |
| 11 #include "nacl_io/mount.h" | 11 #include "nacl_io/mount.h" |
| 12 #include "nacl_io/mount_node.h" | 12 #include "nacl_io/mount_node.h" |
| 13 #include "nacl_io/ostypes.h" | 13 #include "nacl_io/ostypes.h" |
| 14 | 14 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 44 SimpleLock offs_lock_; | 44 SimpleLock offs_lock_; |
| 45 size_t offs_; | 45 size_t offs_; |
| 46 | 46 |
| 47 friend class KernelProxy; | 47 friend class KernelProxy; |
| 48 DISALLOW_COPY_AND_ASSIGN(KernelHandle); | 48 DISALLOW_COPY_AND_ASSIGN(KernelHandle); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 typedef ScopedRef<KernelHandle> ScopedKernelHandle; | 51 typedef ScopedRef<KernelHandle> ScopedKernelHandle; |
| 52 | 52 |
| 53 #endif // LIBRARIES_NACL_IO_KERNEL_HANDLE_H_ | 53 #endif // LIBRARIES_NACL_IO_KERNEL_HANDLE_H_ |
| OLD | NEW |