diff options
Diffstat (limited to 'content/browser/renderer_host/test_render_view_host.h')
-rw-r--r-- | content/browser/renderer_host/test_render_view_host.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h index 4251acf..a6ec555 100644 --- a/content/browser/renderer_host/test_render_view_host.h +++ b/content/browser/renderer_host/test_render_view_host.h @@ -284,6 +284,11 @@ class TestRenderViewHost // False by default. void set_simulate_fetch_via_proxy(bool proxy); + // If set, navigations will appear to have cleared the history list in the + // RenderView (ViewHostMsg_FrameNavigate_Params::history_list_was_cleared). + // False by default. + void set_simulate_history_list_was_cleared(bool cleared); + // RenderViewHost overrides -------------------------------------------------- virtual bool CreateRenderView(const string16& frame_name, @@ -319,6 +324,9 @@ class TestRenderViewHost // See set_simulate_fetch_via_proxy() above. bool simulate_fetch_via_proxy_; + // See set_simulate_history_list_was_cleared() above. + bool simulate_history_list_was_cleared_; + // See SetContentsMimeType() above. std::string contents_mime_type_; |