diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-24 23:46:39 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-24 23:46:39 +0000 |
commit | 0070eab07191eaed49b945da7db9ba8e687612a5 (patch) | |
tree | fd0e54c831050a88393aa90c78af71ea6e259eb8 /base/mac_util.h | |
parent | ca9b7dd291b73243b21c03c472544387f4886dae (diff) | |
download | chromium_src-0070eab07191eaed49b945da7db9ba8e687612a5.zip chromium_src-0070eab07191eaed49b945da7db9ba8e687612a5.tar.gz chromium_src-0070eab07191eaed49b945da7db9ba8e687612a5.tar.bz2 |
Give Mac plugin processes descriptive names for Activity Monitor
BUG=none
TEST=Open Activity Monitor, and visit a page with a plugin. The plugin process should show the name of the plugin.
Review URL: http://codereview.chromium.org/659007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mac_util.h')
-rw-r--r-- | base/mac_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/mac_util.h b/base/mac_util.h index 1a0a043..864bc24 100644 --- a/base/mac_util.h +++ b/base/mac_util.h @@ -113,6 +113,9 @@ CFTypeRef GetValueFromDictionary(CFDictionaryRef dict, CFStringRef key, CFTypeID expected_type); +// Sets the process name as displayed in Activity Monitor to process_name. +void SetProcessName(CFStringRef process_name); + } // namespace mac_util #endif // BASE_MAC_UTIL_H_ |