Migrate callers of Process::Set/isProcessBackgrounded

To keep ChildProcessLauncher in line with the base::Process API,
SetProcessBackgrounded is renamed to SetProcessPriority and its own
callers are updated. The change bubbles up to
BrowserChildProcessHostImpl

R=boliu@chromium.org

Bug: 1466479
Change-Id: I241a45cd3a7470577344bbcc1fc3b943ab4a3073
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4752878
Reviewed-by: Bo Liu <boliu@chromium.org>
Commit-Queue: Bo Liu <boliu@chromium.org>
Auto-Submit: Patrick Monette <pmonette@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1180383}
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index eae4c09..8675f46 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -148,14 +148,15 @@
           helper_, std::move(to_pass), priority));
 }
 #else   // !BUILDFLAG(IS_ANDROID)
-void ChildProcessLauncher::SetProcessBackgrounded(bool is_background) {
+void ChildProcessLauncher::SetProcessPriority(
+    base::Process::Priority priority) {
   DCHECK_CURRENTLY_ON(BrowserThread::UI);
   base::Process to_pass = process_.process.Duplicate();
   GetProcessLauncherTaskRunner()->PostTask(
       FROM_HERE,
       base::BindOnce(
-          &ChildProcessLauncherHelper::SetProcessBackgroundedOnLauncherThread,
-          helper_, std::move(to_pass), is_background));
+          &ChildProcessLauncherHelper::SetProcessPriorityOnLauncherThread,
+          helper_, std::move(to_pass), priority));
 }
 #endif  // !BUILDFLAG(IS_ANDROID)