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

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

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Rebase Created 3 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/navigation_simulator.cc
diff --git a/content/public/test/navigation_simulator.cc b/content/public/test/navigation_simulator.cc
index ffd2485f1f77af393490e4717780544621a65769..e4ab8206b2f29cc4486449811395772bf7737ffb 100644
--- a/content/public/test/navigation_simulator.cc
+++ b/content/public/test/navigation_simulator.cc
@@ -113,7 +113,8 @@ void NavigationSimulator::Start() {
BeginNavigationParams begin_params(
std::string(), net::LOAD_NORMAL, true /* has_user_gesture */,
false /* skip_service_worker */, REQUEST_CONTEXT_TYPE_HYPERLINK,
- blink::WebMixedContentContextType::Blockable, url::Origin());
+ blink::WebMixedContentContextType::Blockable, url::Origin(),
+ 0 /* renderer_navigation_id */);
CommonNavigationParams common_params;
common_params.url = navigation_url_;
common_params.referrer = referrer_;

Powered by Google App Engine
This is Rietveld 408576698