summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/plugin_main.cc
diff options
context:
space:
mode:
authorrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-31 19:05:03 +0000
committerrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-31 19:05:03 +0000
commit9f6d6f17eb09eb20cc5071ed3d839fd8d3785a98 (patch)
tree4bde0c75a3fc5a8a7f6b2e64a050c33526adf814 /chrome/plugin/plugin_main.cc
parent019c257e1bdd8c98128b67d201311f8d90e108a7 (diff)
downloadchromium_src-9f6d6f17eb09eb20cc5071ed3d839fd8d3785a98.zip
chromium_src-9f6d6f17eb09eb20cc5071ed3d839fd8d3785a98.tar.gz
chromium_src-9f6d6f17eb09eb20cc5071ed3d839fd8d3785a98.tar.bz2
Some more changes so that Chromium and Google Chrome do not clash with each other while running at the same time.
BUG=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_main.cc')
-rw-r--r--chrome/plugin/plugin_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/plugin/plugin_main.cc b/chrome/plugin/plugin_main.cc
index df2dbc1..cd94008 100644
--- a/chrome/plugin/plugin_main.cc
+++ b/chrome/plugin/plugin_main.cc
@@ -17,7 +17,8 @@ int PluginMain(CommandLine &parsed_command_line, int show_command,
sandbox::TargetServices* target_services) {
// The main thread of the plugin services IO.
MessageLoopForIO main_message_loop;
- PlatformThread::SetName("Chrome_PluginMain");
+ std::wstring app_name = chrome::kBrowserAppName;
+ PlatformThread::SetName(WideToASCII(app_name + L"_PluginMain").c_str());
CoInitialize(NULL);
DLOG(INFO) << "Started plugin with " <<