Index: chrome/common/resource_usage_reporter.mojom |
diff --git a/chrome/common/resource_usage_reporter.mojom b/chrome/common/resource_usage_reporter.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7601208941ee2fb6554aff5ad3e44783f720d76d |
--- /dev/null |
+++ b/chrome/common/resource_usage_reporter.mojom |
@@ -0,0 +1,15 @@ |
+// 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. |
+ |
+struct ResourceUsageData { |
+ bool reports_v8_stats = false; |
+ uint64 v8_memory_allocated = 0; |
Tom Sepez
2015/05/12 19:18:17
nit: I'd call this v8_bytes_allocated and v8_bytes
Anand Mistry (off Chromium)
2015/05/13 00:42:11
Done.
|
+ uint64 v8_memory_used = 0; |
+ |
+ // TODO(amistry): Consider using this for the renderer process. |
+}; |
+ |
+interface ResourceUsageReporter { |
+ GetUsageData() => (ResourceUsageData data); |
+}; |