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

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

Issue 22587003: [NaCl SDK] Add UDP and TCP Sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to browser tester fix. Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
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_H_ 5 #ifndef LIBRARIES_NACL_IO_MOUNT_NODE_H_
6 #define LIBRARIES_NACL_IO_MOUNT_NODE_H_ 6 #define LIBRARIES_NACL_IO_MOUNT_NODE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "nacl_io/error.h" 10 #include "nacl_io/error.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual Error Tcsetattr(int optional_actions, 75 virtual Error Tcsetattr(int optional_actions,
76 const struct termios *termios_p); 76 const struct termios *termios_p);
77 77
78 virtual int GetLinks(); 78 virtual int GetLinks();
79 virtual int GetMode(); 79 virtual int GetMode();
80 virtual int GetType(); 80 virtual int GetType();
81 // Assume that |out_size| is non-NULL. 81 // Assume that |out_size| is non-NULL.
82 virtual Error GetSize(size_t* out_size); 82 virtual Error GetSize(size_t* out_size);
83 virtual bool IsaDir(); 83 virtual bool IsaDir();
84 virtual bool IsaFile(); 84 virtual bool IsaFile();
85 virtual bool IsaSock();
85 virtual bool IsaTTY(); 86 virtual bool IsaTTY();
86 87
87 88
88 // Number of children for this node (directory) 89 // Number of children for this node (directory)
89 virtual int ChildCount(); 90 virtual int ChildCount();
90 91
91 protected: 92 protected:
92 // Directory operations on the node are done by the Mount. The mount's lock 93 // Directory operations on the node are done by the Mount. The mount's lock
93 // must be held while these calls are made. 94 // must be held while these calls are made.
94 95
(...skipping 24 matching lines...) Expand all
119 friend class MountDev; 120 friend class MountDev;
120 friend class MountHtml5Fs; 121 friend class MountHtml5Fs;
121 friend class MountHttp; 122 friend class MountHttp;
122 friend class MountMem; 123 friend class MountMem;
123 friend class MountNodeDir; 124 friend class MountNodeDir;
124 }; 125 };
125 126
126 } // namespace nacl_io 127 } // namespace nacl_io
127 128
128 #endif // LIBRARIES_NACL_IO_MOUNT_NODE_H_ 129 #endif // LIBRARIES_NACL_IO_MOUNT_NODE_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/library.dsc ('k') | native_client_sdk/src/libraries/nacl_io/mount_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698