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

Unified Diff: mojo/edk/system/data_pipe_producer_dispatcher.cc

Issue 1365383004: Cleanup: Remove internal two-phase data pipe all-or-none support. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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/edk/system/data_pipe_impl_unittest.cc ('k') | mojo/edk/system/local_data_pipe_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/data_pipe_producer_dispatcher.cc
diff --git a/mojo/edk/system/data_pipe_producer_dispatcher.cc b/mojo/edk/system/data_pipe_producer_dispatcher.cc
index 536dace9c295c2f286159c77dc66e81f52fb3e85..5221713ddb3213808ee89ee327b7279210f978c4 100644
--- a/mojo/edk/system/data_pipe_producer_dispatcher.cc
+++ b/mojo/edk/system/data_pipe_producer_dispatcher.cc
@@ -88,8 +88,7 @@ MojoResult DataPipeProducerDispatcher::BeginWriteDataImplNoLock(
if ((flags & MOJO_WRITE_DATA_FLAG_ALL_OR_NONE))
return MOJO_RESULT_INVALID_ARGUMENT;
- // TODO(vtl): Remove all-or-none support at lower levels.
- return data_pipe_->ProducerBeginWriteData(buffer, buffer_num_bytes, false);
+ return data_pipe_->ProducerBeginWriteData(buffer, buffer_num_bytes);
}
MojoResult DataPipeProducerDispatcher::EndWriteDataImplNoLock(
« no previous file with comments | « mojo/edk/system/data_pipe_impl_unittest.cc ('k') | mojo/edk/system/local_data_pipe_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698