summaryrefslogtreecommitdiff
path: root/chromium/content/public/browser/navigation_handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/public/browser/navigation_handle.h')
-rw-r--r--chromium/content/public/browser/navigation_handle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/content/public/browser/navigation_handle.h b/chromium/content/public/browser/navigation_handle.h
index d20c8207f4a..819892174f7 100644
--- a/chromium/content/public/browser/navigation_handle.h
+++ b/chromium/content/public/browser/navigation_handle.h
@@ -317,6 +317,10 @@ class CONTENT_EXPORT NavigationHandle {
// Returns whether this navigation is currently deferred.
virtual bool IsDeferredForTesting() = 0;
+ // Whether this navigation was triggered by a x-origin redirect following a
+ // prior (most likely <a download>) download attempt.
+ virtual bool FromDownloadCrossOriginRedirect() = 0;
+
// The NavigationData that the embedder returned from
// ResourceDispatcherHostDelegate::GetNavigationData during commit. This will
// be a clone of the NavigationData.