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

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

Issue 547713002: [NaCl SDK] nacl_io: Always create directory node in http filesystem root. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 int flags, 85 int flags,
86 size_t offset, 86 size_t offset,
87 void** out_addr); 87 void** out_addr);
88 virtual Error Tcflush(int queue_selector); 88 virtual Error Tcflush(int queue_selector);
89 virtual Error Tcgetattr(struct termios* termios_p); 89 virtual Error Tcgetattr(struct termios* termios_p);
90 virtual Error Tcsetattr(int optional_actions, 90 virtual Error Tcsetattr(int optional_actions,
91 const struct termios* termios_p); 91 const struct termios* termios_p);
92 92
93 virtual int GetLinks(); 93 virtual int GetLinks();
94 virtual int GetMode(); 94 virtual int GetMode();
95 virtual void SetMode(int mode);
95 virtual int GetType(); 96 virtual int GetType();
96 virtual void SetType(int type); 97 virtual void SetType(int type);
97 // Assume that |out_size| is non-NULL. 98 // Assume that |out_size| is non-NULL.
98 virtual Error GetSize(off_t* out_size); 99 virtual Error GetSize(off_t* out_size);
99 // Returns 0 if node is a TTY 100 // Returns 0 if node is a TTY
100 virtual Error Isatty(); 101 virtual Error Isatty();
101 102
102 virtual bool IsaDir(); 103 virtual bool IsaDir();
103 virtual bool IsaFile(); 104 virtual bool IsaFile();
104 virtual bool IsaSock(); 105 virtual bool IsaSock();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 friend class Filesystem; 139 friend class Filesystem;
139 friend class FuseFs; 140 friend class FuseFs;
140 friend class Html5Fs; 141 friend class Html5Fs;
141 friend class HttpFs; 142 friend class HttpFs;
142 friend class MemFs; 143 friend class MemFs;
143 }; 144 };
144 145
145 } // namespace nacl_io 146 } // namespace nacl_io
146 147
147 #endif // LIBRARIES_NACL_IO_NODE_H_ 148 #endif // LIBRARIES_NACL_IO_NODE_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc ('k') | native_client_sdk/src/libraries/nacl_io/node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698