Remove unused UtilityProcessHostClient
Nobody has used this for years, so it should be safe to remove.
Change-Id: I59d361640801e2677a16f0b80be21b41296d2c91
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1655979
Auto-Submit: Clark DuVall <[email protected]>
Reviewed-by: John Abd-El-Malek <[email protected]>
Commit-Queue: Clark DuVall <[email protected]>
Cr-Commit-Position: refs/heads/master@{#668507}
diff --git a/content/browser/utility_process_host_browsertest.cc b/content/browser/utility_process_host_browsertest.cc
index 2dbf010..0c9fd30 100644
--- a/content/browser/utility_process_host_browsertest.cc
+++ b/content/browser/utility_process_host_browsertest.cc
@@ -8,7 +8,6 @@
#include "base/task/post_task.h"
#include "build/build_config.h"
#include "content/browser/utility_process_host.h"
-#include "content/browser/utility_process_host_client.h"
#include "content/public/browser/browser_child_process_observer.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
@@ -64,9 +63,7 @@
void RunUtilityProcessOnIOThread(bool elevated, bool crash) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- UtilityProcessHost* host =
- new UtilityProcessHost(/*client=*/nullptr,
- /*client_task_runner=*/nullptr);
+ UtilityProcessHost* host = new UtilityProcessHost();
host->SetName(base::ASCIIToUTF16("TestProcess"));
host->SetMetricsName(kTestProcessName);
#if defined(OS_WIN)