summaryrefslogtreecommitdiffstats
path: root/extensions/browser/updater
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/updater
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/updater')
-rw-r--r--extensions/browser/updater/safe_manifest_parser.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/browser/updater/safe_manifest_parser.cc b/extensions/browser/updater/safe_manifest_parser.cc
index f40fc13..05c75a9 100644
--- a/extensions/browser/updater/safe_manifest_parser.cc
+++ b/extensions/browser/updater/safe_manifest_parser.cc
@@ -13,6 +13,8 @@
#include "content/public/common/content_switches.h"
#include "extensions/common/extension_utility_messages.h"
#include "ipc/ipc_message_macros.h"
+#include "grit/extensions_strings.h"
+#include "ui/base/l10n/l10n_util.h"
using content::BrowserThread;
@@ -45,6 +47,8 @@ void SafeManifestParser::ParseInSandbox() {
content::UtilityProcessHost* host = content::UtilityProcessHost::Create(
this,
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI).get());
+ host->SetName(
+ l10n_util::GetStringUTF16(IDS_UTILITY_PROCESS_MANIFEST_PARSER_NAME));
host->Send(new ExtensionUtilityMsg_ParseUpdateManifest(xml_));
}