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

Unified Diff: chrome/common/resource_usage_reporter.mojom

Issue 972083002: Report utility process JS memory in task manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8-pac-oop
Patch Set: Rebase and fix build. Created 5 years, 7 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 | « chrome/common/BUILD.gn ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8768e6ad2ca7e7a6ef5012d1f80c27a147ba82b8
--- /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_bytes_allocated = 0;
+ uint64 v8_bytes_used = 0;
+
+ // TODO(amistry): Consider using this for the renderer process.
+};
+
+interface ResourceUsageReporter {
+ GetUsageData() => (ResourceUsageData data);
jam 2015/05/19 16:11:47 please add a message/warning that for utility proc
Anand Mistry (off Chromium) 2015/05/20 00:39:10 Done.
+};
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698