| 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_OBJECT_H_ | 5 #ifndef LIBRARIES_NACL_IO_KERNEL_OBJECT_H_ |
| 6 #define LIBRARIES_NACL_IO_KERNEL_OBJECT_H_ | 6 #define LIBRARIES_NACL_IO_KERNEL_OBJECT_H_ |
| 7 | 7 |
| 8 #include <pthread.h> | 8 #include <pthread.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "nacl_io/error.h" | 14 #include "nacl_io/error.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // Lock to protect handle_map_. | 86 // Lock to protect handle_map_. |
| 87 SimpleLock mount_lock_; | 87 SimpleLock mount_lock_; |
| 88 | 88 |
| 89 // Lock to protect cwd_. | 89 // Lock to protect cwd_. |
| 90 SimpleLock cwd_lock_; | 90 SimpleLock cwd_lock_; |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(KernelObject); | 92 DISALLOW_COPY_AND_ASSIGN(KernelObject); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 #endif // LIBRARIES_NACL_IO_KERNEL_OBJECT_H_ | 95 #endif // LIBRARIES_NACL_IO_KERNEL_OBJECT_H_ |
| OLD | NEW |