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

Unified Diff: chrome/browser/predictors/resource_prefetcher_unittest.cc

Issue 2587443002: predictors: Make speculative_prefetch_predictor work with PlzNavigate (Closed)
Patch Set: Modified after clamy@ review Created 4 years 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: chrome/browser/predictors/resource_prefetcher_unittest.cc
diff --git a/chrome/browser/predictors/resource_prefetcher_unittest.cc b/chrome/browser/predictors/resource_prefetcher_unittest.cc
index 2cc5711cc3bab58fc58fe54c7a2f6d04f2480f3c..80631b977d00c9de072ed96d48bb3a5cfeb1e0f1 100644
--- a/chrome/browser/predictors/resource_prefetcher_unittest.cc
+++ b/chrome/browser/predictors/resource_prefetcher_unittest.cc
@@ -165,7 +165,7 @@ TEST_F(ResourcePrefetcherTest, TestPrefetcherFinishes) {
GURL("http://yahoo.com/resource4.png"),
GURL("http://yahoo.com/resource5.png")};
- NavigationID navigation_id = CreateNavigationID(1, 2, main_frame_url.spec());
+ NavigationID navigation_id = CreateNavigationID(1, main_frame_url.spec());
prefetcher_.reset(new TestResourcePrefetcher(&prefetcher_delegate_, config_,
main_frame_url, urls));
@@ -237,7 +237,7 @@ TEST_F(ResourcePrefetcherTest, TestPrefetcherStopped) {
GURL("http://yahoo.com/resource3.png"),
GURL("http://m.google.com/resource1.jpg")};
- NavigationID navigation_id = CreateNavigationID(1, 2, main_frame_url.spec());
+ NavigationID navigation_id = CreateNavigationID(1, main_frame_url.spec());
prefetcher_.reset(new TestResourcePrefetcher(&prefetcher_delegate_, config_,
main_frame_url, urls));

Powered by Google App Engine
This is Rietveld 408576698