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

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

Issue 1403773005: Ensure that DataPipeProducerDispatcher::CreateEquivalentDispatcherAndCloseImplNoLock serializes the… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 2 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 | mojo/edk/system/data_pipe_producer_dispatcher.cc » ('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.h
diff --git a/mojo/edk/system/data_pipe_producer_dispatcher.h b/mojo/edk/system/data_pipe_producer_dispatcher.h
index d8c86e4694a13c98379208f7d7ec9759fb926b72..daf038b39922920aa7f4a976bbf52b4cbb87a1c7 100644
--- a/mojo/edk/system/data_pipe_producer_dispatcher.h
+++ b/mojo/edk/system/data_pipe_producer_dispatcher.h
@@ -85,6 +85,9 @@ class MOJO_SYSTEM_IMPL_EXPORT DataPipeProducerDispatcher final
bool InTwoPhaseWrite() const;
bool WriteDataIntoMessages(const void* elements, uint32_t num_bytes);
+ // See comment in MessagePipeDispatcher for this method.
+ void SerializeInternal();
+
MojoCreateDataPipeOptions options_;
// Protected by |lock()|:
@@ -98,6 +101,7 @@ class MOJO_SYSTEM_IMPL_EXPORT DataPipeProducerDispatcher final
bool error_;
+ bool serialized_;
ScopedPlatformHandle serialized_platform_handle_;
std::vector<char> serialized_write_buffer_;
std::vector<char> two_phase_data_;
« no previous file with comments | « no previous file | mojo/edk/system/data_pipe_producer_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698