diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:37:40 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:37:40 +0000 |
commit | f164cea41472f9e9ec21579233e2c42a7b9d5184 (patch) | |
tree | 523c6aa180be86ace3ac7797e4c9c75c369dff57 /chrome/chrome.gyp | |
parent | 422c0f17466cddf30fd6815f9d3519a3815264c6 (diff) | |
download | chromium_src-f164cea41472f9e9ec21579233e2c42a7b9d5184.zip chromium_src-f164cea41472f9e9ec21579233e2c42a7b9d5184.tar.gz chromium_src-f164cea41472f9e9ec21579233e2c42a7b9d5184.tar.bz2 |
Mac: Implement about:memory.
This implements about:memory on Mac. It calls /bin/ps to obtain information
about processes (this is Apple's officially supported "API"). Unfortunately, ps
provides fairly minimal information (rss and vsize); top is better, but not a
stable API -- it has changed greatly between Mac OS 10.5 and 10.6, and moreover
the 10.6 version is more limited in its output formatting.
BUG=9653
TEST=Go to about:memory under a variety of conditions (with a variety of browsers loaded).
Review URL: http://codereview.chromium.org/333008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31168 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rwxr-xr-x | chrome/chrome.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index efdc20b..cf23373 100755 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -1764,6 +1764,7 @@ 'browser/login_prompt_win.cc', 'browser/memory_details.cc', 'browser/memory_details_linux.cc', + 'browser/memory_details_mac.cc', 'browser/memory_details_win.cc', 'browser/memory_details.h', 'browser/memory_purger.cc', @@ -1935,6 +1936,8 @@ 'browser/privacy_blacklist/blacklist_store.cc', 'browser/privacy_blacklist/blocked_response.h', 'browser/privacy_blacklist/blocked_response.cc', + 'browser/process_info_snapshot_mac.cc', + 'browser/process_info_snapshot.h', 'browser/process_singleton.h', 'browser/process_singleton_linux.cc', 'browser/process_singleton_mac.cc', @@ -4651,6 +4654,7 @@ 'browser/privacy_blacklist/blacklist_manager_unittest.cc', 'browser/privacy_blacklist/blacklist_unittest.cc', 'browser/privacy_blacklist/blacklist_io_unittest.cc', + 'browser/process_info_snapshot_mac_unittest.cc', 'browser/profile_manager_unittest.cc', 'browser/renderer_host/audio_renderer_host_unittest.cc', 'browser/renderer_host/render_widget_host_unittest.cc', |