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

Unified Diff: mojo/public/c/system/thunks.cc

Issue 2043713004: Mojo: Add NotifyBadMessage API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no bindings Created 4 years, 6 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 | « mojo/public/c/system/thunks.h ('k') | mojo/public/cpp/system/message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/thunks.cc
diff --git a/mojo/public/c/system/thunks.cc b/mojo/public/c/system/thunks.cc
index fe2793b7c5a1a75ac58298563e606233e4e2377d..1960dd6065f4fdd7d67e6557112ea9130aede75c 100644
--- a/mojo/public/c/system/thunks.cc
+++ b/mojo/public/c/system/thunks.cc
@@ -275,6 +275,13 @@ MojoResult MojoUnwrapPlatformSharedBufferHandle(
num_bytes, flags);
}
+MojoResult MojoNotifyBadMessage(MojoMessageHandle message,
+ const char* error,
+ size_t error_num_bytes) {
+ assert(g_thunks.NotifyBadMessage);
+ return g_thunks.NotifyBadMessage(message, error, error_num_bytes);
+}
+
} // extern "C"
size_t MojoEmbedderSetSystemThunks(const MojoSystemThunks* system_thunks) {
« no previous file with comments | « mojo/public/c/system/thunks.h ('k') | mojo/public/cpp/system/message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698