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

Unified Diff: chrome/browser/download/download_request_limiter.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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: chrome/browser/download/download_request_limiter.cc
diff --git a/chrome/browser/download/download_request_limiter.cc b/chrome/browser/download/download_request_limiter.cc
index 74866617f821bf9a46b0d43d4c322dd41f4beb02..407bab05fbc0753ac37996029aab2c681637e040 100644
--- a/chrome/browser/download/download_request_limiter.cc
+++ b/chrome/browser/download/download_request_limiter.cc
@@ -205,7 +205,7 @@ void DownloadRequestLimiter::TabDownloadState::Observe(
return;
// Redirects don't count.
- if (content::PageTransitionIsRedirect(entry->GetTransitionType()))
+ if (ui::PageTransitionIsRedirect(entry->GetTransitionType()))
return;
if (status_ == DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS ||
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | chrome/browser/download/download_shelf_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698