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

Unified Diff: chrome/browser/extensions/extension_navigation_throttle_unittest.cc

Issue 2499313003: 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
« no previous file with comments | « no previous file | chrome/browser/plugins/flash_download_interception_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_navigation_throttle_unittest.cc
diff --git a/chrome/browser/extensions/extension_navigation_throttle_unittest.cc b/chrome/browser/extensions/extension_navigation_throttle_unittest.cc
index cd7a2020b29cbc3207d0907182015bad788c574a..116de42c38c2f0b54ad22b4bdced98761162430d 100644
--- a/chrome/browser/extensions/extension_navigation_throttle_unittest.cc
+++ b/chrome/browser/extensions/extension_navigation_throttle_unittest.cc
@@ -69,10 +69,10 @@ class ExtensionNavigationThrottleUnitTest
NavigationThrottle::ThrottleCheckResult expected_result) {
std::unique_ptr<content::NavigationHandle> handle =
content::NavigationHandle::CreateNavigationHandleForTesting(url, host);
- EXPECT_EQ(expected_result, handle->CallWillStartRequestForTesting(
- false, //not post
- content::Referrer(), false,
- ui::PAGE_TRANSITION_LINK, false))
+ EXPECT_EQ(expected_result,
+ handle->CallWillStartRequestForTesting(
+ false, // not post
+ content::Referrer(), ui::PAGE_TRANSITION_LINK, false))
<< url;
}
« no previous file with comments | « no previous file | chrome/browser/plugins/flash_download_interception_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698