Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/node.h

Issue 875543002: Grab a bunch of owners / todos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_NODE_H_ 5 #ifndef LIBRARIES_NACL_IO_NODE_H_
6 #define LIBRARIES_NACL_IO_NODE_H_ 6 #define LIBRARIES_NACL_IO_NODE_H_
7 7
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 UPDATE_MTIME = 2, 133 UPDATE_MTIME = 2,
134 UPDATE_CTIME = 4, 134 UPDATE_CTIME = 4,
135 }; 135 };
136 void UpdateTime(int update_bits); 136 void UpdateTime(int update_bits);
137 137
138 protected: 138 protected:
139 struct stat stat_; 139 struct stat stat_;
140 sdk_util::SimpleLock node_lock_; 140 sdk_util::SimpleLock node_lock_;
141 141
142 // We use a pointer directly to avoid cycles in the ref count. 142 // We use a pointer directly to avoid cycles in the ref count.
143 // TODO(noelallen) We should change this so it's unnecessary for the node 143 // TODO(bradnelson) We should change this so it's unnecessary for the node
144 // to track it's parent. When a node is unlinked, the filesystem should do 144 // to track it's parent. When a node is unlinked, the filesystem should do
145 // any cleanup it needs. 145 // any cleanup it needs.
146 Filesystem* filesystem_; 146 Filesystem* filesystem_;
147 147
148 friend class DevFs; 148 friend class DevFs;
149 friend class DirNode; 149 friend class DirNode;
150 friend class Filesystem; 150 friend class Filesystem;
151 friend class FuseFs; 151 friend class FuseFs;
152 friend class Html5Fs; 152 friend class Html5Fs;
153 friend class HttpFs; 153 friend class HttpFs;
154 friend class MemFs; 154 friend class MemFs;
155 }; 155 };
156 156
157 } // namespace nacl_io 157 } // namespace nacl_io
158 158
159 #endif // LIBRARIES_NACL_IO_NODE_H_ 159 #endif // LIBRARIES_NACL_IO_NODE_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc ('k') | native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698