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

Unified Diff: content/browser/frame_host/navigation_handle_impl_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/frame_host/navigation_handle_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_handle_impl_unittest.cc b/content/browser/frame_host/navigation_handle_impl_unittest.cc
index a0b54ea39c592f3c79f9071a9f00746c79c65c55..4ff65971d667e07a53cfbb59ae26f7f925a0b7a5 100644
--- a/content/browser/frame_host/navigation_handle_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_handle_impl_unittest.cc
@@ -71,7 +71,7 @@ class NavigationHandleImplTest : public RenderViewHostImplTestHarness {
GURL(), main_test_rfh()->frame_tree_node(),
true, // is_renderer_initiated
false, // is_same_page
- base::TimeTicks::Now(), 0, NavigationGestureAuto,
+ base::TimeTicks::Now(), 0,
false); // started_from_context_menu
EXPECT_EQ(REQUEST_CONTEXT_TYPE_UNSPECIFIED,
test_handle_->request_context_type_);
@@ -111,7 +111,7 @@ class NavigationHandleImplTest : public RenderViewHostImplTestHarness {
// It's safe to use base::Unretained since the NavigationHandle is owned by
// the NavigationHandleImplTest.
test_handle_->WillStartRequest(
- "GET", nullptr, Referrer(), ui::PAGE_TRANSITION_LINK, false,
+ "GET", nullptr, Referrer(), false, ui::PAGE_TRANSITION_LINK, false,
REQUEST_CONTEXT_TYPE_LOCATION,
base::Bind(&NavigationHandleImplTest::UpdateThrottleCheckResult,
base::Unretained(this)));
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | content/browser/frame_host/navigation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698