Index: chrome/browser/safe_json_parser.cc |
diff --git a/chrome/browser/safe_json_parser.cc b/chrome/browser/safe_json_parser.cc |
index f8334ce7397e41b5abacab5927e0ae8b8f13664b..232fdd43daed61c90439de21ebb0189410a61660 100644 |
--- a/chrome/browser/safe_json_parser.cc |
+++ b/chrome/browser/safe_json_parser.cc |
@@ -5,8 +5,10 @@ |
#include "chrome/browser/safe_json_parser.h" |
#include "chrome/common/chrome_utility_messages.h" |
+#include "chrome/grit/generated_resources.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/utility_process_host.h" |
+#include "ui/base/l10n/l10n_util.h" |
using content::BrowserThread; |
using content::UtilityProcessHost; |
@@ -32,6 +34,8 @@ void SafeJsonParser::StartWorkOnIOThread() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
UtilityProcessHost* host = |
UtilityProcessHost::Create(this, base::MessageLoopProxy::current().get()); |
+ host->SetName(l10n_util::GetStringUTF16( |
+ IDS_UTILITY_PROCESS_JSON_PARSER_NAME)); |
host->Send(new ChromeUtilityMsg_ParseJSON(unsafe_json_)); |
} |