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

Unified Diff: third_party/WebKit/Source/core/mojo/Mojo.h

Issue 2720873002: Implements JS bindings for mojo shared buffer. (Closed)
Patch Set: rebaseline2 Created 3 years, 10 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 | « third_party/WebKit/Source/core/core_idl_files.gni ('k') | third_party/WebKit/Source/core/mojo/Mojo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/mojo/Mojo.h
diff --git a/third_party/WebKit/Source/core/mojo/Mojo.h b/third_party/WebKit/Source/core/mojo/Mojo.h
index 0000bb38a53b989f8b613bc8fac91a64f664421f..1d26763712929c9c823aa69fdd17626a85083169 100644
--- a/third_party/WebKit/Source/core/mojo/Mojo.h
+++ b/third_party/WebKit/Source/core/mojo/Mojo.h
@@ -11,6 +11,7 @@
namespace blink {
class MojoCreateMessagePipeResult;
+class MojoCreateSharedBufferResult;
class Mojo final : public GarbageCollected<Mojo>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -41,6 +42,8 @@ class Mojo final : public GarbageCollected<Mojo>, public ScriptWrappable {
static const MojoResult kResultShouldWait = MOJO_RESULT_SHOULD_WAIT;
static void createMessagePipe(MojoCreateMessagePipeResult&);
+ static void createSharedBuffer(unsigned numBytes,
+ MojoCreateSharedBufferResult&);
DEFINE_INLINE_TRACE() {}
};
« no previous file with comments | « third_party/WebKit/Source/core/core_idl_files.gni ('k') | third_party/WebKit/Source/core/mojo/Mojo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698