Index: mojo/edk/system/data_pipe.h |
diff --git a/mojo/edk/system/data_pipe.h b/mojo/edk/system/data_pipe.h |
index 767d405ca2110366823a51d0e2622476006f418f..d4afddad2bbfd1477c3e4bc41fdfc8b9ecf1cc0d 100644 |
--- a/mojo/edk/system/data_pipe.h |
+++ b/mojo/edk/system/data_pipe.h |
@@ -35,7 +35,7 @@ |
// The default options for |MojoCreateDataPipe()|. (Real uses should obtain |
// this via |ValidateCreateOptions()| with a null |in_options|; this is |
// exposed directly for testing convenience.) |
- static MojoCreateDataPipeOptions GetDefaultCreateOptions(); |
+ static const MojoCreateDataPipeOptions kDefaultCreateOptions; |
// Validates and/or sets default options for |MojoCreateDataPipeOptions|. If |
// non-null, |in_options| must point to a struct of at least |
@@ -117,11 +117,12 @@ |
virtual void ConsumerCloseImplNoLock() = 0; |
// |*num_bytes| will be a nonzero multiple of |element_num_bytes_|. |
- virtual MojoResult ConsumerReadDataImplNoLock(UserPointer<void> elements, |
- UserPointer<uint32_t> num_bytes, |
- uint32_t max_num_bytes_to_read, |
- uint32_t min_num_bytes_to_read, |
- bool peek) = 0; |
+ virtual MojoResult ConsumerReadDataImplNoLock( |
+ UserPointer<void> elements, |
+ UserPointer<uint32_t> num_bytes, |
+ uint32_t max_num_bytes_to_read, |
+ uint32_t min_num_bytes_to_read, |
+ bool peek) = 0; |
virtual MojoResult ConsumerDiscardDataImplNoLock( |
UserPointer<uint32_t> num_bytes, |
uint32_t max_num_bytes_to_discard, |