summaryrefslogtreecommitdiffstats
path: root/cc/proto/managed_memory_policy.proto
blob: 9f42a6a65f6452c3f772ee01516259b9709bc413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2015 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.

syntax = "proto2";

import "memory_allocation.proto";

package cc.proto;

option optimize_for = LITE_RUNTIME;

message ManagedMemoryPolicy {
  optional uint32 bytes_limit_when_visible = 1;
  optional MemoryAllocation.PriorityCutoff priority_cutoff_when_visible = 2;
  optional uint32 num_resources_limit = 3;
}