chromium/mojo/public/mojom/base/ref_counted_memory.mojom

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module mojo_base.mojom;

import "mojo/public/mojom/base/big_buffer.mojom";

// Chrome internally uses base::RefCountedMemory to pass data around. These
// data segments can be fairly large, to the point where we don't want them
// to be stuffed raw through the mojo ipc layer.
[Stable]
struct RefCountedMemory {
  mojo_base.mojom.BigBuffer data;
};