Index: mojo/public/c/system/types.h |
diff --git a/mojo/public/c/system/types.h b/mojo/public/c/system/types.h |
index 6d21b12a172aefc805a98354479dd1fd1ceaef52..3482d4e17f23713330fd55d9a63677b127cb2f7f 100644 |
--- a/mojo/public/c/system/types.h |
+++ b/mojo/public/c/system/types.h |
@@ -202,4 +202,18 @@ const MojoWatchNotificationFlags MOJO_WATCH_NOTIFICATION_FLAG_FROM_SYSTEM = |
((MojoWatchNotificationFlags)1 << 0); |
#endif |
+// |MojoPropertyType|: Property types that can be passed to |MojoGetProperty()| |
+// to retrieve system properties. May take the following values: |
+// |MOJO_PROPERTY_TYPE_SYNC_CALL_ALLOWED| - Whether making synchronous calls |
+// (i.e., blocking to wait for a response to an outbound message) is |
+// allowed. The property value is of boolean type. If the value is true, |
+// users should refrain from making sync calls. |
+typedef uint32_t MojoPropertyType; |
+ |
+#ifdef __cplusplus |
+const MojoPropertyType MOJO_PROPERTY_TYPE_SYNC_CALL_ALLOWED = 0; |
+#else |
+#define MOJO_PROPERTY_TYPE_SYNC_CALL_ALLOWED ((MojoPropertyType)0) |
+#endif |
+ |
#endif // MOJO_PUBLIC_C_SYSTEM_TYPES_H_ |