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

Unified Diff: third_party/mojo/src/mojo/edk/system/core.h

Issue 929433005: WIP: A couple of more ChannelMojo speedup ideas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build and test fix 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
Index: third_party/mojo/src/mojo/edk/system/core.h
diff --git a/third_party/mojo/src/mojo/edk/system/core.h b/third_party/mojo/src/mojo/edk/system/core.h
index 7833193c44f86c036359b7596ef68bd5a9ac7dc6..88c5e0a898e593146ef7a5992249f667dbd37eda 100644
--- a/third_party/mojo/src/mojo/edk/system/core.h
+++ b/third_party/mojo/src/mojo/edk/system/core.h
@@ -60,6 +60,10 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
MojoHandleSignals signals,
base::Callback<void(MojoResult)> callback);
+ MojoResult SetAsyncMessageCallback(
+ MojoHandle handle,
+ base::Callback<bool(const void*, uint32_t)> callback);
+
embedder::PlatformSupport* platform_support() const {
return platform_support_;
}
« no previous file with comments | « third_party/mojo/src/mojo/edk/system/channel_endpoint_client.h ('k') | third_party/mojo/src/mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698