Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: content/public/common/process_resource_service.mojom

Issue 862813002: WIP: Prototype OOP V8 PAC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Slight cleanup and report JS memory usage. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/utility/content_utility_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+};
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/utility/content_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698