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 634017094921913ac039d8e371e61ad52d405a76..f769c5fa13dc333281f6df462e09cf3906e3a29d 100644 |
--- a/content/public/test/mock_render_process_host.h |
+++ b/content/public/test/mock_render_process_host.h |
@@ -103,6 +103,10 @@ class MockRenderProcessHost : public RenderProcessHost { |
is_isolated_guest_ = is_isolated_guest; |
} |
+ void SetProcessHandle(scoped_ptr<base::ProcessHandle> new_handle) { |
+ process_handle = new_handle.Pass(); |
+ } |
+ |
private: |
// Stores IPC messages that would have been sent to the renderer. |
IPC::TestSink sink_; |
@@ -118,6 +122,7 @@ class MockRenderProcessHost : public RenderProcessHost { |
bool fast_shutdown_started_; |
bool deletion_callback_called_; |
bool is_isolated_guest_; |
+ scoped_ptr<base::ProcessHandle> process_handle; |
DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHost); |
}; |