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

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

Issue 16232016: [NaCl SDK] nacl_io: big refactor to return error value (errno). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 6c7b6b31e91aab95be47ead7e8ac8c643f395885..089654e9ae14d284abd21814f4f958c56f34e7eb 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
@@ -26,7 +26,7 @@ class PepperInterface;
// proxy will result in IO access to the provided Mount and MountNode objects.
class KernelProxy : protected KernelObject {
public:
- typedef Mount* (*MountFactory_t)(int, StringMap_t&, PepperInterface*);
+ typedef Error (*MountFactory_t)(int, StringMap_t&, PepperInterface*, Mount**);
typedef std::map<std::string, std::string> StringMap_t;
typedef std::map<std::string, MountFactory_t> MountFactoryMap_t;

Powered by Google App Engine
This is Rietveld 408576698