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

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

Issue 604513002: [NaCl SDK] nacl_io: Add chmod/fchmod (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 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 b29fe6a18dc48650ceb196e12209a0fbe9f2c8a7..e121c6ca8bcfeddc872e9ad46d1fb3b492724f7d 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
@@ -26,7 +26,7 @@ class MockKernelProxy : public nacl_io::KernelProxy {
MOCK_METHOD1(dup, int(int));
MOCK_METHOD2(dup2, int(int, int));
MOCK_METHOD1(fchdir, int(int));
- MOCK_METHOD2(fchmod, int(int, int));
+ MOCK_METHOD2(fchmod, int(int, mode_t));
MOCK_METHOD3(fchown, int(int, uid_t, gid_t));
MOCK_METHOD3(fcntl, int(int, int, va_list));
MOCK_METHOD1(fdatasync, int(int));

Powered by Google App Engine
This is Rietveld 408576698