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

Unified Diff: content/public/browser/utility_process_host.h

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
Index: content/public/browser/utility_process_host.h
diff --git a/content/public/browser/utility_process_host.h b/content/public/browser/utility_process_host.h
index 36b28509dc94290f22e6e367c9352c9f17018ae4..99a6b3cac8836f159f442be2e754196bd4e2e2d2 100644
--- a/content/public/browser/utility_process_host.h
+++ b/content/public/browser/utility_process_host.h
@@ -80,8 +80,8 @@ class UtilityProcessHost : public IPC::Sender,
// Starts the utility process in Mojo mode.
virtual bool StartMojoMode() = 0;
- // Returns the ServiceRegistry for this process. Only valid to call this if
- // the process was started with StartMojoMode().
+ // Returns the ServiceRegistry for this process. Will return nullptr if
+ // the process was not started with StartMojoMode().
virtual ServiceRegistry* GetServiceRegistry() = 0;
// Set the name of the process to appear in the task manager.

Powered by Google App Engine
This is Rietveld 408576698