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

Unified Diff: mojo/public/platform/native/system_thunks.h

Issue 2043713004: Mojo: Add NotifyBadMessage API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: mojo/public/platform/native/system_thunks.h
diff --git a/mojo/public/platform/native/system_thunks.h b/mojo/public/platform/native/system_thunks.h
index f3b5e8a9d4fc9a4577c8f353300d2c64105efabc..d4aa907dfcab8011d5ca5b0fb258c7bc9e72f8d2 100644
--- a/mojo/public/platform/native/system_thunks.h
+++ b/mojo/public/platform/native/system_thunks.h
@@ -152,6 +152,7 @@ struct MojoSystemThunks {
struct MojoPlatformHandle* platform_handle,
size_t* num_bytes,
MojoPlatformSharedBufferHandleFlags* flags);
+ MojoResult (*NotifyBadMessage)(MojoMessageHandle message);
};
#pragma pack(pop)
@@ -194,7 +195,8 @@ inline MojoSystemThunks MojoMakeSystemThunks() {
MojoWrapPlatformHandle,
MojoUnwrapPlatformHandle,
MojoWrapPlatformSharedBufferHandle,
- MojoUnwrapPlatformSharedBufferHandle};
+ MojoUnwrapPlatformSharedBufferHandle,
+ MojoNotifyBadMessage};
return system_thunks;
}
#endif

Powered by Google App Engine
This is Rietveld 408576698