From d66ac222818e128cc67714a60ee16b529069940d Mon Sep 17 00:00:00 2001 From: "jyasskin@chromium.org" Date: Fri, 12 Apr 2013 18:53:59 +0000 Subject: Test extension reloading behavior. By testing the actual interaction with renderer processes and the notification system, I can expose the fact that we're starting a whole extra process and loading the extension around 3 times. BUG=178542 Review URL: https://chromiumcodereview.appspot.com/13533007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193974 0039d316-1c4b-4281-b951-d872f2087c98 --- content/public/test/test_renderer_host.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'content/public/test/test_renderer_host.h') diff --git a/content/public/test/test_renderer_host.h b/content/public/test/test_renderer_host.h index 4c74aff..358dccd 100644 --- a/content/public/test/test_renderer_host.h +++ b/content/public/test/test_renderer_host.h @@ -109,6 +109,10 @@ class RenderViewHostTestEnabler { RenderViewHostTestEnabler(); ~RenderViewHostTestEnabler(); + MockRenderProcessHostFactory* rph_factory() { + return rph_factory_.get(); + } + private: DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestEnabler); friend class RenderViewHostTestHarness; -- cgit v1.1