summaryrefslogtreecommitdiffstats
path: root/extensions/browser/sandboxed_unpacker.cc
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2015-04-07 14:58:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-07 21:59:21 +0000
commite3d6b757596c96fb8f59fd4d3ca24e2b282bafcb (patch)
tree59b49b0d51f701f7934b6317e984f8aa391e1d4f /extensions/browser/sandboxed_unpacker.cc
parent708ba318c48d27b840274b004ab4ba532e8b8924 (diff)
downloadchromium_src-e3d6b757596c96fb8f59fd4d3ca24e2b282bafcb.zip
chromium_src-e3d6b757596c96fb8f59fd4d3ca24e2b282bafcb.tar.gz
chromium_src-e3d6b757596c96fb8f59fd4d3ca24e2b282bafcb.tar.bz2
Give names to all utility processes.
BUG=472340 Review URL: https://codereview.chromium.org/1062873003 Cr-Commit-Position: refs/heads/master@{#324130}
Diffstat (limited to 'extensions/browser/sandboxed_unpacker.cc')
-rw-r--r--extensions/browser/sandboxed_unpacker.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/browser/sandboxed_unpacker.cc b/extensions/browser/sandboxed_unpacker.cc
index 518cde7..e22109a 100644
--- a/extensions/browser/sandboxed_unpacker.cc
+++ b/extensions/browser/sandboxed_unpacker.cc
@@ -348,6 +348,8 @@ void SandboxedUnpacker::StartProcessOnIOThread(
const base::FilePath& temp_crx_path) {
UtilityProcessHost* host =
UtilityProcessHost::Create(this, unpacker_io_task_runner_.get());
+ host->SetName(
+ l10n_util::GetStringUTF16(IDS_UTILITY_PROCESS_EXTENSION_UNPACKER_NAME));
// Grant the subprocess access to the entire subdir the extension file is
// in, so that it can unpack to that dir.
host->SetExposedDir(temp_crx_path.DirName());