| 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..654b513fd863e19f44152997a28e5de812296818 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(int new_handle) {
|
| + process_handle.reset(new int(new_handle));
|
| + }
|
| +
|
| 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<int> process_handle;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHost);
|
| };
|
|
|