1 // Copyright 2015 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.
5 struct ResourceUsageData {
6 bool reports_v8_stats = false;
7 uint64 v8_bytes_allocated = 0;
8 uint64 v8_bytes_used = 0;
11 interface ResourceUsageReporter {
12 // NOTE: For utility processes, this only reports V8 memory used by the proxy
14 GetUsageData() => (ResourceUsageData data);