summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorerikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-12 20:14:04 +0000
committererikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-12 20:14:04 +0000
commit2468fc57ba4b174cb315ca88067905fd45a78533 (patch)
tree73d4dee5a992615ff80f4b46425a7191772fcd8a /chrome/app
parent0335b08e730b0ba14e2125da6bcdd8bc826b6853 (diff)
downloadchromium_src-2468fc57ba4b174cb315ca88067905fd45a78533.zip
chromium_src-2468fc57ba4b174cb315ca88067905fd45a78533.tar.gz
chromium_src-2468fc57ba4b174cb315ca88067905fd45a78533.tar.bz2
Move benchmark extension example to new location and clean it up to use browser actions rather than toolstrips.
BUG=26106 TEST=none Review URL: http://codereview.chromium.org/384065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/chrome_dll_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index bc9f4a3..8d2c141 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -457,7 +457,8 @@ int ChromeMain(int argc, char** argv) {
// of the process. It is not cleaned up.
// TODO(port): we probably need to shut this down correctly to avoid
// leaking shared memory regions on posix platforms.
- if (parsed_command_line.HasSwitch(switches::kEnableStatsTable)) {
+ if (parsed_command_line.HasSwitch(switches::kEnableStatsTable) ||
+ parsed_command_line.HasSwitch(switches::kEnableBenchmarking)) {
std::string statsfile = StringPrintf("%s-%lld", chrome::kStatsFilename,
static_cast<int64>(browser_pid));
StatsTable *stats_table = new StatsTable(statsfile,