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

Unified Diff: mojo/public/go/bindings/invalid_handle.go

Issue 1374463002: Remove support for "all or none" two-phase data pipe read/write. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: oops Created 5 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
« no previous file with comments | « mojo/public/c/system/data_pipe.h ('k') | mojo/public/go/system/data_pipe.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/go/bindings/invalid_handle.go
diff --git a/mojo/public/go/bindings/invalid_handle.go b/mojo/public/go/bindings/invalid_handle.go
index 1acc645dd6f0a81aee05a67c2d47156f6a0f91dd..64d46451ef316c60243830a6ecf7e9b3a0d9c436 100644
--- a/mojo/public/go/bindings/invalid_handle.go
+++ b/mojo/public/go/bindings/invalid_handle.go
@@ -56,7 +56,7 @@ func (h *InvalidHandle) ReadData(flags system.MojoReadDataFlags) (system.MojoRes
return system.MOJO_RESULT_INVALID_ARGUMENT, nil
}
-func (h *InvalidHandle) BeginReadData(numBytes int, flags system.MojoReadDataFlags) (system.MojoResult, []byte) {
+func (h *InvalidHandle) BeginReadData(flags system.MojoReadDataFlags) (system.MojoResult, []byte) {
return system.MOJO_RESULT_INVALID_ARGUMENT, nil
}
@@ -68,7 +68,7 @@ func (h *InvalidHandle) WriteData(data []byte, flags system.MojoWriteDataFlags)
return system.MOJO_RESULT_INVALID_ARGUMENT, 0
}
-func (h *InvalidHandle) BeginWriteData(numBytes int, flags system.MojoWriteDataFlags) (system.MojoResult, []byte) {
+func (h *InvalidHandle) BeginWriteData(flags system.MojoWriteDataFlags) (system.MojoResult, []byte) {
return system.MOJO_RESULT_INVALID_ARGUMENT, nil
}
« no previous file with comments | « mojo/public/c/system/data_pipe.h ('k') | mojo/public/go/system/data_pipe.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698