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

Unified Diff: mojo/system/shared_buffer_dispatcher.h

Issue 475223002: Mojo: Add embedder::PlatformSupport and a simple implementation (and a bit of plumbing). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/system/shared_buffer_dispatcher.h
diff --git a/mojo/system/shared_buffer_dispatcher.h b/mojo/system/shared_buffer_dispatcher.h
index 70954651b5217bdda2760f4fd9a3bc30250dfcb3..fb5c32e79827772009bac475181115080d863f79 100644
--- a/mojo/system/shared_buffer_dispatcher.h
+++ b/mojo/system/shared_buffer_dispatcher.h
@@ -12,6 +12,11 @@
#include "mojo/system/system_impl_export.h"
namespace mojo {
+
+namespace embedder {
+class PlatformSupport;
+}
+
namespace system {
// TODO(vtl): We derive from SimpleDispatcher, even though we don't currently
@@ -36,6 +41,7 @@ class MOJO_SYSTEM_IMPL_EXPORT SharedBufferDispatcher : public SimpleDispatcher {
// Static factory method: |validated_options| must be validated (obviously).
// On failure, |*result| will be left as-is.
static MojoResult Create(
+ embedder::PlatformSupport* platform_support,
const MojoCreateSharedBufferOptions& validated_options,
uint64_t num_bytes,
scoped_refptr<SharedBufferDispatcher>* result);

Powered by Google App Engine
This is Rietveld 408576698