naiveproxy/mojo/public/mojom/base/ref_counted_memory.mojom

15 lines
506 B
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +03:00
// 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;
};