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

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_proxy.h

Issue 99203014: [NaCl SDK] Map active fds to absolute paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h b/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
index a02327531b4a9bdf2510cdb9639f67948872a0b3..a89bc2b475a07b95c06d408a624210617a74b1fe 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
@@ -41,6 +41,7 @@ class PepperInterface;
class KernelProxy : protected KernelObject {
public:
typedef std::map<std::string, FsFactory*> FsFactoryMap_t;
+ typedef std::map<int, std::string> FdPathMap_t;
KernelProxy();
virtual ~KernelProxy();
@@ -198,6 +199,7 @@ class KernelProxy : protected KernelObject {
protected:
FsFactoryMap_t factories_;
+ FdPathMap_t fd_paths_;
binji 2014/01/06 19:32:04 this should probably be in KernelObject
sdk_util::ScopedRef<StreamFs> stream_mount_;
int dev_;
PepperInterface* ppapi_;

Powered by Google App Engine
This is Rietveld 408576698