summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-29 21:06:43 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-29 21:06:43 +0000
commit74e9fa2c35b2fa8d293ad5369cc9cb6e9bbad2a1 (patch)
tree5a97c84fd8c1daee2e97e569ef9c8b43cf1a97f5 /chrome/plugin
parentda827048d636a9c8cc5b0217077c2fe97cd6b8fe (diff)
downloadchromium_src-74e9fa2c35b2fa8d293ad5369cc9cb6e9bbad2a1.zip
chromium_src-74e9fa2c35b2fa8d293ad5369cc9cb6e9bbad2a1.tar.gz
chromium_src-74e9fa2c35b2fa8d293ad5369cc9cb6e9bbad2a1.tar.bz2
Move the SetProcTitle code out of base and into chrome/common. This is only
used to support the weird way Chrome manages processes, so doesn't belong in the central CommandLine class. This also provides an empty implementation on Mac & Windows to avoid some ifdefs in the main functions. TEST=everything compiles BUG=none Review URL: http://codereview.chromium.org/6002013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70276 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/plugin_main.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/plugin/plugin_main.cc b/chrome/plugin/plugin_main.cc
index 9d97ed9..a59a5b5 100644
--- a/chrome/plugin/plugin_main.cc
+++ b/chrome/plugin/plugin_main.cc
@@ -99,10 +99,6 @@ int PluginMain(const MainFunctionParams& parameters) {
const CommandLine& parsed_command_line = parameters.command_line_;
#if defined(OS_LINUX)
- // On Linux we exec ourselves from /proc/self/exe, but that makes the
- // process name that shows up in "ps" etc. for plugins show as "exe"
- // instead of "chrome" or something reasonable. Try to fix it.
- CommandLine::SetProcTitle();
#if defined(ARCH_CPU_64_BITS)
WorkaroundFlashLAHF();