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

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

Issue 2587443002: predictors: Make speculative_prefetch_predictor work with PlzNavigate (Closed)
Patch Set: Reworked Tests 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_prefetch_predictor_unittest.cc
diff --git a/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc b/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc
index 62b0effd5b40191a104621912144fec79fcc0684..4dbfb3ff43dcda26209e9109d41fe3e9e5675b3e 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc
+++ b/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc
@@ -1331,8 +1331,8 @@ TEST_F(ResourcePrefetchPredictorTest, SummarizeResponse) {
EXPECT_FALSE(summary.always_revalidate);
// Navigation_id elements should be unset by default.
- EXPECT_EQ(-1, summary.navigation_id.render_process_id);
- EXPECT_EQ(-1, summary.navigation_id.render_frame_id);
+ EXPECT_EQ(-1, summary.navigation_id.session_id.id());
+ EXPECT_EQ(-1, summary.navigation_id.frame_tree_node_id);
EXPECT_EQ(GURL(), summary.navigation_id.main_frame_url);
}

Powered by Google App Engine
This is Rietveld 408576698