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

Unified Diff: content/browser/loader/resource_dispatcher_host_unittest.cc

Issue 2557233002: Revert of Set user_gesture bit at NavigationHandle creation time. (Closed)
Patch Set: rebase 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: 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 b53228912f98e72c705dc5776c2054a6f15ca4cb..c0f2781aa9fabc5034789b3d5b9b56872c9758ef 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -1083,7 +1083,7 @@ class ResourceDispatcherHostTest : public testing::TestWithParam<TestConfig>,
// Make a navigation request.
TestNavigationURLLoaderDelegate delegate;
BeginNavigationParams begin_params(std::string(), net::LOAD_NORMAL, false,
- REQUEST_CONTEXT_TYPE_LOCATION);
+ false, REQUEST_CONTEXT_TYPE_LOCATION);
CommonNavigationParams common_params;
common_params.url = url;
std::unique_ptr<NavigationRequestInfo> request_info(
@@ -2640,7 +2640,7 @@ TEST_P(ResourceDispatcherHostTest, CancelRequestsForContext) {
// Create a NavigationRequest.
TestNavigationURLLoaderDelegate delegate;
BeginNavigationParams begin_params(std::string(), net::LOAD_NORMAL, false,
- REQUEST_CONTEXT_TYPE_LOCATION);
+ false, REQUEST_CONTEXT_TYPE_LOCATION);
CommonNavigationParams common_params;
common_params.url = download_url;
std::unique_ptr<NavigationRequestInfo> request_info(
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698