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

Unified Diff: content/public/test/test_renderer_host.cc

Issue 1002803002: Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit tests Created 5 years, 9 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/public/test/test_renderer_host.cc
diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc
index fea075da9a30da9d62625ed629851df327e81d05..03e337416fe77b0ad57ebd97225dc6c8c54c6bcc 100644
--- a/content/public/test/test_renderer_host.cc
+++ b/content/public/test/test_renderer_host.cc
@@ -164,15 +164,16 @@ void RenderViewHostTestHarness::Reload() {
DCHECK(entry);
controller().Reload(false);
RenderFrameHostTester::For(main_rfh())->SendNavigateWithTransition(
- entry->GetPageID(), entry->GetURL(), ui::PAGE_TRANSITION_RELOAD);
+ entry->GetPageID(), entry->GetUniqueID(), false, entry->GetURL(),
+ ui::PAGE_TRANSITION_RELOAD);
}
void RenderViewHostTestHarness::FailedReload() {
NavigationEntry* entry = controller().GetLastCommittedEntry();
DCHECK(entry);
controller().Reload(false);
- RenderFrameHostTester::For(main_rfh())->SendFailedNavigate(entry->GetPageID(),
- entry->GetURL());
+ RenderFrameHostTester::For(main_rfh())->SendFailedNavigate(
+ entry->GetPageID(), entry->GetUniqueID(), false, entry->GetURL());
}
void RenderViewHostTestHarness::SetUp() {

Powered by Google App Engine
This is Rietveld 408576698