Chromium Code Reviews| Index: content/public/common/resource_usage_reporter.mojom |
| diff --git a/content/public/common/resource_usage_reporter.mojom b/content/public/common/resource_usage_reporter.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f165ac9e08f7745e9cffc1390a3d817ceb17cfb2 |
| --- /dev/null |
| +++ b/content/public/common/resource_usage_reporter.mojom |
| @@ -0,0 +1,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. |
| + |
| +module content; |
| + |
| +struct ResourceUsageData { |
|
ncarter (slow)
2015/05/07 20:12:44
Gosh mojo is nice. Feels great to be living in the
|
| + bool reports_v8_stats = false; |
| + uint64 v8_memory_allocated = 0; |
| + uint64 v8_memory_used = 0; |
| + |
| + // TODO(amistry): Consider using this for the renderer process. |
| +}; |
| + |
| +interface ResourceUsageReporter { |
| + GetUsageData() => (ResourceUsageData data); |
| +}; |