Index: content/public/common/process_resource_service.mojom |
diff --git a/content/public/common/process_resource_service.mojom b/content/public/common/process_resource_service.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..06a836a9c7f25b9082dca0bfa8e50b56df5e4f7f |
--- /dev/null |
+++ b/content/public/common/process_resource_service.mojom |
@@ -0,0 +1,14 @@ |
+module content; |
+ |
+struct ResourceData { |
+ bool reports_v8_stats; |
+ uint64 v8_memory_allocated; |
+ uint64 v8_memory_used; |
+ |
+ // TODO(amistry): Fill out with other resources and re-use for renderer |
+ // processes. |
+}; |
+ |
+interface ProcessResourceService { |
+ GetResourceData() => (ResourceData data); |
+}; |