Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(915)

Unified Diff: content/test/test_render_view_host.h

Issue 135723003: Move DidCommitProvisionalLoad code from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Some clean up, ready to start reviewing. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/test_render_view_host.h
diff --git a/content/test/test_render_view_host.h b/content/test/test_render_view_host.h
index 34ba8f63348e60857137f89e4146228b89f040cf..7bfa7c57eab5d9f9309048594f7dc653ce0d8e13 100644
--- a/content/test/test_render_view_host.h
+++ b/content/test/test_render_view_host.h
@@ -26,7 +26,7 @@
//
// To use, derive your test base class from RenderViewHostImplTestHarness.
-struct ViewHostMsg_FrameNavigate_Params;
+struct FrameHostMsg_DidCommitProvisionalLoad_Params;
namespace gfx {
class Rect;
@@ -40,7 +40,7 @@ class TestWebContents;
// Utility function to initialize ViewHostMsg_NavigateParams_Params
// with given |page_id|, |url| and |transition_type|.
-void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params,
+void InitNavigateParams(FrameHostMsg_DidCommitProvisionalLoad_Params* params,
int page_id,
const GURL& url,
PageTransition transition_type);
@@ -257,7 +257,8 @@ class TestRenderViewHost
void SendNavigateWithFile(
int page_id, const GURL& url, const base::FilePath& file_path);
- void SendNavigateWithParams(ViewHostMsg_FrameNavigate_Params* params);
+ void SendNavigateWithParams(
+ FrameHostMsg_DidCommitProvisionalLoad_Params* params);
void TestOnUpdateStateWithFile(
int process_id, const base::FilePath& file_path);
@@ -300,7 +301,8 @@ class TestRenderViewHost
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).
+ // RenderView
+ // (FrameHostMsg_DidCommitProvisionalLoad_Params::history_list_was_cleared).
// False by default.
void set_simulate_history_list_was_cleared(bool cleared);

Powered by Google App Engine
This is Rietveld 408576698