diff options
Diffstat (limited to 'base/process_util.h')
-rw-r--r-- | base/process_util.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/base/process_util.h b/base/process_util.h index 2bb5396..cec37bd 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -369,9 +369,10 @@ class ProcessMetrics { #else class PortProvider { public: - // Should return the mach task for |process| if possible, or else 0. Only - // processes that this returns tasks for will have metrics on OS X (except - // for the current process, which always gets metrics). + // Should return the mach task for |process| if possible, or else + // |MACH_PORT_NULL|. Only processes that this returns tasks for will have + // metrics on OS X (except for the current process, which always gets + // metrics). virtual mach_port_t TaskForPid(ProcessHandle process) const = 0; }; |