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

Unified Diff: mojo/edk/embedder/entrypoints.cc

Issue 2084993002: Mojo: add support for disallowing sync calls for a process. (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
« no previous file with comments | « mojo/edk/embedder/embedder.cc ('k') | mojo/edk/system/core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/entrypoints.cc
diff --git a/mojo/edk/embedder/entrypoints.cc b/mojo/edk/embedder/entrypoints.cc
index c7e9505812ff66b55a370ada476a68c678547d71..f09c5e149f65062545f118f85af1e625c53c3f61 100644
--- a/mojo/edk/embedder/entrypoints.cc
+++ b/mojo/edk/embedder/entrypoints.cc
@@ -254,6 +254,10 @@ MojoResult MojoNotifyBadMessageImpl(MojoMessageHandle message,
return g_core->NotifyBadMessage(message, error, error_num_bytes);
}
+MojoResult MojoGetPropertyImpl(MojoPropertyType type, void* value) {
+ return g_core->GetProperty(type, value);
+}
+
} // extern "C"
namespace mojo {
@@ -295,7 +299,8 @@ MojoSystemThunks MakeSystemThunks() {
MojoUnwrapPlatformHandleImpl,
MojoWrapPlatformSharedBufferHandleImpl,
MojoUnwrapPlatformSharedBufferHandleImpl,
- MojoNotifyBadMessageImpl};
+ MojoNotifyBadMessageImpl,
+ MojoGetPropertyImpl};
return system_thunks;
}
« no previous file with comments | « mojo/edk/embedder/embedder.cc ('k') | mojo/edk/system/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698