Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Unified Diff: chrome/browser/importer/external_process_importer_client.cc

Issue 1062873003: Give names to all utility processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typos Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/importer/external_process_importer_client.cc
diff --git a/chrome/browser/importer/external_process_importer_client.cc b/chrome/browser/importer/external_process_importer_client.cc
index 384f78e9d33d2c6ac3716c4069914fccdd4c8595..a44c18e4763b8c3ceabc9d43937d9d03c88573fa 100644
--- a/chrome/browser/importer/external_process_importer_client.cc
+++ b/chrome/browser/importer/external_process_importer_client.cc
@@ -312,6 +312,8 @@ void ExternalProcessImporterClient::StartProcessOnIOThread(
utility_process_host_ = UtilityProcessHost::Create(
this, BrowserThread::GetMessageLoopProxyForThread(thread_id).get())
->AsWeakPtr();
+ utility_process_host_->SetName(l10n_util::GetStringUTF16(
+ IDS_UTILITY_PROCESS_PROFILE_IMPORTER_NAME));
utility_process_host_->DisableSandbox();
#if defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698