Reland: Plugin Placeholders: Refactor for platforms that don't support plugins
[chromium-blink-merge.git] / chrome / common / resource_usage_reporter.mojom
blob1fef55861ee8048f9f180066f3364e57b9ad5006
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;
9 };
11 interface ResourceUsageReporter {
12   // NOTE: For utility processes, this only reports V8 memory used by the proxy
13   // resolver.
14   GetUsageData() => (ResourceUsageData data);