summaryrefslogtreecommitdiffstats
path: root/content/public/test/test_renderer_host.h
diff options
context:
space:
mode:
authorjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 18:53:59 +0000
committerjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 18:53:59 +0000
commitd66ac222818e128cc67714a60ee16b529069940d (patch)
tree17aee0994a0b65e332d519b8beb96fbbf9571e81 /content/public/test/test_renderer_host.h
parentac7b49d82dee3e690968139b610553386f6f1f3c (diff)
downloadchromium_src-d66ac222818e128cc67714a60ee16b529069940d.zip
chromium_src-d66ac222818e128cc67714a60ee16b529069940d.tar.gz
chromium_src-d66ac222818e128cc67714a60ee16b529069940d.tar.bz2
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
Diffstat (limited to 'content/public/test/test_renderer_host.h')
-rw-r--r--content/public/test/test_renderer_host.h4
1 files changed, 4 insertions, 0 deletions
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;