[PM] Add ProcessPriorityPolicy.

This creates a policy engine that forwards calculated priority values
out of the graph, applying the priorities to RenderProcessHosts (and
subsequently to the process itself).

BUG=971272

Change-Id: I11c8c040e5382a8fa6881c40f80f6885f26e88df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1904367
Commit-Queue: Chris Hamilton <[email protected]>
Reviewed-by: Sigurður Ásgeirsson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#713859}
diff --git a/components/performance_manager/public/graph/graph.h b/components/performance_manager/public/graph/graph.h
index 37cd408..e69bdbc 100644
--- a/components/performance_manager/public/graph/graph.h
+++ b/components/performance_manager/public/graph/graph.h
@@ -80,6 +80,9 @@
   virtual std::vector<const PageNode*> GetAllPageNodes() const = 0;
   virtual std::vector<const WorkerNode*> GetAllWorkerNodes() const = 0;
 
+  // Returns true if the graph is currently empty.
+  virtual bool IsEmpty() const = 0;
+
   // Returns the associated UKM recorder if it is defined.
   virtual ukm::UkmRecorder* GetUkmRecorder() const = 0;