summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 19:32:58 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 19:32:58 +0000
commit3148c5d6e03492bf0f0310981e3b87e281c22f89 (patch)
tree93fbf3989c3f582d6fca48199741312cbdcdbffb /chrome/common/chrome_switches.cc
parent269a4ccc9ac806f5cf95603e4bd93c1d63bfb415 (diff)
downloadchromium_src-3148c5d6e03492bf0f0310981e3b87e281c22f89.zip
chromium_src-3148c5d6e03492bf0f0310981e3b87e281c22f89.tar.gz
chromium_src-3148c5d6e03492bf0f0310981e3b87e281c22f89.tar.bz2
Hook up the memory purger to all the relevant locations.
This removes the two-state purge/reset code (no longer necessary), and the hooks to the power monitor (not ready to turn those on without more work and testing). BUG=23400 TEST=Run Chrome with --purge-memory-button, use it for awhile, open the Task Manager, and click "Purge Memory". You should still be able to use the program normally, and hopefully we dumped some memory out too (varies by usage). Review URL: http://codereview.chromium.org/399028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 61c0b98..f372542 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -466,7 +466,7 @@ const char kProxyServer[] = "proxy-server";
// Adds a "Purge memory" button to the Task Manager, which tries to dump as
// much memory as possible. This is mostly useful for testing how well the
-// MemoryPurger functionality (which is normally triggered on Suspend) works.
+// MemoryPurger functionality works.
//
// NOTE: This is only implemented for Views.
const char kPurgeMemoryButton[] = "purge-memory-button";