1 // Copyright 2018 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 module mojo_base.mojom; 6 7 import "mojo/public/mojom/base/big_buffer.mojom"; 8 9 // Chrome internally uses base::RefCountedMemory to pass data around. These 10 // data segments can be fairly large, to the point where we don't want them 11 // to be stuffed raw through the mojo ipc layer. 12 struct RefCountedMemory { 13 mojo_base.mojom.BigBuffer data; 14 }; 15