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

Unified Diff: chrome/nacl/nacl_ipc_adapter.h

Issue 15274002: Do not translate the file open flags other than read/write. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_rel build 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
« no previous file with comments | « no previous file | chrome/nacl/nacl_ipc_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/nacl/nacl_ipc_adapter.h
diff --git a/chrome/nacl/nacl_ipc_adapter.h b/chrome/nacl/nacl_ipc_adapter.h
index 515b0fc33803ab9fb2cd7c7f9215ff858a1208ac..c7569e6002422ca789e3db20d02c3883d2e146c4 100644
--- a/chrome/nacl/nacl_ipc_adapter.h
+++ b/chrome/nacl/nacl_ipc_adapter.h
@@ -20,6 +20,7 @@
#include "base/synchronization/lock.h"
#include "base/task_runner.h"
#include "ipc/ipc_listener.h"
+#include "ppapi/c/pp_stdint.h"
#include "ppapi/proxy/handle_converter.h"
struct NaClDesc;
@@ -185,4 +186,7 @@ class NaClIPCAdapter : public base::RefCountedThreadSafe<NaClIPCAdapter>,
DISALLOW_COPY_AND_ASSIGN(NaClIPCAdapter);
};
+// Export TranslatePepperFileReadWriteOpenFlags for testing.
+int TranslatePepperFileReadWriteOpenFlagsForTesting(int32_t pp_open_flags);
+
#endif // CHROME_NACL_NACL_IPC_ADAPTER_H_
« no previous file with comments | « no previous file | chrome/nacl/nacl_ipc_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698