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

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

Issue 936283002: Oops, calling {Producer,Consumer}CloseImplNoLock() isn't the same as calling {Producer,Consumer}Clo… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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.cc » ('j') | mojo/edk/system/data_pipe.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/data_pipe.h
diff --git a/mojo/edk/system/data_pipe.h b/mojo/edk/system/data_pipe.h
index 39954d486e494160ec098ffa02c6044e9e1d0b8d..585893eb096064eef13bcc9a86f89ade6bb11ae4 100644
--- a/mojo/edk/system/data_pipe.h
+++ b/mojo/edk/system/data_pipe.h
@@ -116,6 +116,9 @@ class MOJO_SYSTEM_IMPL_EXPORT DataPipe
friend class base::RefCountedThreadSafe<DataPipe>;
virtual ~DataPipe();
+ void ProducerCloseNoLock();
+ void ConsumerCloseNoLock();
+
virtual void ProducerCloseImplNoLock() = 0;
// |num_bytes.Get()| will be a nonzero multiple of |element_num_bytes_|.
virtual MojoResult ProducerWriteDataImplNoLock(
« no previous file with comments | « no previous file | mojo/edk/system/data_pipe.cc » ('j') | mojo/edk/system/data_pipe.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698