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

Unified Diff: content/browser/loader/resource_dispatcher_host_unittest.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/browser/loader/resource_dispatcher_host_unittest.cc
diff --git a/content/browser/loader/resource_dispatcher_host_unittest.cc b/content/browser/loader/resource_dispatcher_host_unittest.cc
index aa7b57b8aebe11118b27a0d74da5fd4ac184140a..197a1cc20a365440ed9aff5fddeef204db8af5fb 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -1082,7 +1082,8 @@ class ResourceDispatcherHostTest : public testing::TestWithParam<TestConfig>,
BeginNavigationParams begin_params(
std::string(), net::LOAD_NORMAL, false, false,
REQUEST_CONTEXT_TYPE_LOCATION,
- blink::WebMixedContentContextType::Blockable, url::Origin(url));
+ blink::WebMixedContentContextType::Blockable, url::Origin(url),
+ kInvalidRenderNavigationId);
CommonNavigationParams common_params;
common_params.url = url;
std::unique_ptr<NavigationRequestInfo> request_info(
@@ -2643,8 +2644,8 @@ TEST_P(ResourceDispatcherHostTest, CancelRequestsForContext) {
BeginNavigationParams begin_params(
std::string(), net::LOAD_NORMAL, false, false,
REQUEST_CONTEXT_TYPE_LOCATION,
- blink::WebMixedContentContextType::Blockable,
- url::Origin(download_url));
+ blink::WebMixedContentContextType::Blockable, url::Origin(download_url),
+ kInvalidRenderNavigationId);
CommonNavigationParams common_params;
common_params.url = download_url;
std::unique_ptr<NavigationRequestInfo> request_info(

Powered by Google App Engine
This is Rietveld 408576698