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

Unified Diff: chrome/browser/android/seccomp_support_detector.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/android/seccomp_support_detector.cc
diff --git a/chrome/browser/android/seccomp_support_detector.cc b/chrome/browser/android/seccomp_support_detector.cc
index 4488aee11afb63b5c9badec05149704050916f9c..632cde2284035b5bac76b9b4637b74e31799ea2f 100644
--- a/chrome/browser/android/seccomp_support_detector.cc
+++ b/chrome/browser/android/seccomp_support_detector.cc
@@ -11,8 +11,10 @@
#include "base/metrics/histogram_macros.h"
#include "base/metrics/sparse_histogram.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;
@@ -73,6 +75,8 @@ void SeccompSupportDetector::DetectSeccomp() {
content::UtilityProcessHost* utility_process_host =
content::UtilityProcessHost::Create(
this, base::MessageLoopProxy::current());
+ utility_process_host->SetName(l10n_util::GetStringUTF16(
+ IDS_UTILITY_PROCESS_SECCOMP_DETECTOR_NAME));
utility_process_host->Send(new ChromeUtilityMsg_DetectSeccompSupport());
}

Powered by Google App Engine
This is Rietveld 408576698