naiveproxy/mojo/public/mojom/base/ref_counted_memory.mojom
2018-08-14 22:19:20 +00:00

15 lines
506 B
Plaintext

// Copyright 2018 The Chromium Authors. All rights reserved.
// 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.
struct RefCountedMemory {
mojo_base.mojom.BigBuffer data;
};