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

Unified Diff: native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h

Issue 565763002: Plumbing though mode parameter to open, since fusefs can make use of it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h
diff --git a/native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h b/native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h
index 03059a9e4bdac418487c2ad5be1f545b7cff004f..04a37affede35dfebaf6f928d87a3b6ab8d3f1fe 100644
--- a/native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h
+++ b/native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h
@@ -48,7 +48,7 @@ class MockKernelProxy : public nacl_io::KernelProxy {
MOCK_METHOD5(mount, int(const char*, const char*, const char*, unsigned long,
const void*));
MOCK_METHOD2(munmap, int(void*, size_t));
- MOCK_METHOD2(open, int(const char*, int));
+ MOCK_METHOD3(open, int(const char*, int, mode_t));
MOCK_METHOD1(pipe, int(int[2]));
MOCK_METHOD3(read, ssize_t(int, void*, size_t));
MOCK_METHOD3(readlink, int(const char*, char*, size_t count));
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/mock_fs.h ('k') | native_client_sdk/src/tests/nacl_io_test/tty_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698