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

Unified Diff: chrome/browser/plugins/flash_download_interception_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: chrome/browser/plugins/flash_download_interception_unittest.cc
diff --git a/chrome/browser/plugins/flash_download_interception_unittest.cc b/chrome/browser/plugins/flash_download_interception_unittest.cc
index 2db60902a89e8a22d944cb1d59b372519cb01540..ff89e7c145681ee2a4314d6c556c1e93952d76ad 100644
--- a/chrome/browser/plugins/flash_download_interception_unittest.cc
+++ b/chrome/browser/plugins/flash_download_interception_unittest.cc
@@ -88,10 +88,9 @@ TEST_F(FlashDownloadInterceptionTest, NavigationThrottleCancelsNavigation) {
std::unique_ptr<NavigationHandle> handle =
NavigationHandle::CreateNavigationHandleForTesting(
- GURL("https://get.adobe.com/flashplayer"), main_rfh(),
- false /* committed */, net::OK, true /* has_user_gesture */);
+ GURL("https://get.adobe.com/flashplayer"), main_rfh());
- handle->CallWillStartRequestForTesting(true, content::Referrer(),
+ handle->CallWillStartRequestForTesting(true, content::Referrer(), true,
ui::PAGE_TRANSITION_LINK, false);
std::unique_ptr<NavigationThrottle> throttle =
FlashDownloadInterception::MaybeCreateThrottleFor(handle.get());

Powered by Google App Engine
This is Rietveld 408576698