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

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

Issue 1555273002: [mojo] Add CreateSharedBuffer method to Broker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: mojo/edk/system/broker_state.h
diff --git a/mojo/edk/system/broker_state.h b/mojo/edk/system/broker_state.h
index 356b8ffb1e151c0549b029b48588a03a9efa779e..60d54bb446af44d148057dd6f30dcc7ef9f44d70 100644
--- a/mojo/edk/system/broker_state.h
+++ b/mojo/edk/system/broker_state.h
@@ -40,7 +40,11 @@ class MOJO_SYSTEM_IMPL_EXPORT BrokerState : NON_EXPORTED_BASE(public Broker) {
void TokenToHandle(const uint64_t* tokens,
size_t count,
PlatformHandle* handles) override;
+#else
+ scoped_refptr<PlatformSharedBuffer> CreateSharedBuffer(
+ size_t num_bytes) override;
#endif
+
void ConnectMessagePipe(uint64_t pipe_id,
MessagePipeDispatcher* message_pipe) override;
void CloseMessagePipe(uint64_t pipe_id,

Powered by Google App Engine
This is Rietveld 408576698