• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5module mojo_base.mojom;
6
7import "mojo/public/mojom/base/big_buffer.mojom";
8
9// Corresponds to |std::string| in <string>.
10// Corresponds to |WTF::String| in
11// third_party/WebKit/Source/platform/wtf/text/WTFString.h.
12// This type should be used in place of string whenever the contents of the
13// string may realistically exceed 64 kB in size. This string is safe to store
14// an arbitrarily large amount of data (available memory permitting) without
15// negatively impacting IPC performance or hitting hard message size
16// boundaries.
17struct BigString {
18  mojo_base.mojom.BigBuffer data;
19};
20