Index: content/public/test/mock_render_process_host.h |
diff --git a/content/public/test/mock_render_process_host.h b/content/public/test/mock_render_process_host.h |
index 92f9c353fcddc383225bd75107d229fabd5df53a..3b7d34958d1100b9c49f01fed7aa1e6b858ed571 100644 |
--- a/content/public/test/mock_render_process_host.h |
+++ b/content/public/test/mock_render_process_host.h |
@@ -196,6 +196,11 @@ class MockRenderProcessHostFactory : public RenderProcessHostFactory { |
// to remove it from |processes_| to prevent it from being deleted twice. |
void Remove(MockRenderProcessHost* host) const; |
+ // Retrieve the current list of mock processes. |
+ std::vector<std::unique_ptr<MockRenderProcessHost>>* GetProcesses() { |
+ return &processes_; |
+ } |
+ |
private: |
// A list of MockRenderProcessHosts created by this object. This list is used |
// for deleting all MockRenderProcessHosts that have not deleted by a test in |