diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 18:43:01 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 18:43:01 +0000 |
commit | 4dde6e631c59c5571eb3708beb13f88565b08759 (patch) | |
tree | 3e961bcfd25d87fd926e0fc60ebb6da713610b3b /chrome/profile_import | |
parent | f395404b3b46a8dcc316bd57035dd59539151613 (diff) | |
download | chromium_src-4dde6e631c59c5571eb3708beb13f88565b08759.zip chromium_src-4dde6e631c59c5571eb3708beb13f88565b08759.tar.gz chromium_src-4dde6e631c59c5571eb3708beb13f88565b08759.tar.bz2 |
Rename Chrome threads to use a "Cr" prefix.
Before we carefully used the app (Chrome/Chromium) name, but:
1) these are for internal debugging use only, so why compute this name
2) on Linux the thread ids are limited to 16 characters, and "Chromium"
is too long
Review URL: http://codereview.chromium.org/2741003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/profile_import')
-rw-r--r-- | chrome/profile_import/profile_import_main.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/profile_import/profile_import_main.cc b/chrome/profile_import/profile_import_main.cc index 546df18..ced62d5 100644 --- a/chrome/profile_import/profile_import_main.cc +++ b/chrome/profile_import/profile_import_main.cc @@ -16,9 +16,7 @@ int ProfileImportMain(const MainFunctionParams& parameters) { // The main message loop of the profile import process. MessageLoop main_message_loop; - std::wstring app_name = chrome::kBrowserAppName; - PlatformThread::SetName(WideToASCII( - app_name + L"_ProfileImportMain").c_str()); + PlatformThread::SetName("CrProfileImportMain"); ChildProcess profile_import_process; profile_import_process.set_main_thread(new ProfileImportThread()); |