diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/mojo/public/c/system/functions.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/mojo/public/c/system/functions.h')
-rw-r--r-- | chromium/mojo/public/c/system/functions.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/chromium/mojo/public/c/system/functions.h b/chromium/mojo/public/c/system/functions.h index 6f47028f480..257b6012c74 100644 --- a/chromium/mojo/public/c/system/functions.h +++ b/chromium/mojo/public/c/system/functions.h @@ -12,6 +12,7 @@ #include <stddef.h> #include <stdint.h> +#include "mojo/public/c/system/invitation.h" #include "mojo/public/c/system/system_export.h" #include "mojo/public/c/system/types.h" @@ -26,12 +27,23 @@ extern "C" { // // |options| may be null. // +// If the |MOJO_INITIALIZE_FLAG_LOAD_ONLY| flag is given in |options|, this only +// partially initializes the library. Other Mojo APIs will remain unavailable +// until the library is fully initialized by a subsequent call to +// |MojoInitialize()| WITHOUT the flag. See documentation on +// |MOJO_INITIALIZE_FLAG_LOAD_ONLY| in types.h for details. +// // Returns: // |MOJO_RESULT_OK| if Mojo initialization was successful. +// |MOJO_RESULT_NOT_FOUND| if the Mojo Core library could not be loaded or +// appears to be malformed. +// |MOJO_RESULT_FAILED_PRECONDITION| if the Mojo Core library AND full IPC +// support has already been initialized by some prior call(s) to +// |MojoInitialize()|. +// |MOJO_RESULT_ALREADY_EXISTS| if |MOJO_INITIALIZE_FLAG_LOAD_ONLY| was +// specified for this call but the library has already been successfully +// loaded and partially initialized by a previous call with the same flag. // |MOJO_RESULT_INVALID_ARGUMENT| if |options| was non-null and invalid. -// |MOJO_RESULT_FAILED_PRECONDITION| if |MojoInitialize()| was already called -// once or if the application already explicitly initialized a Mojo Core -// environment as an embedder. MOJO_SYSTEM_EXPORT MojoResult MojoInitialize(const struct MojoInitializeOptions* options); |