Index: ios/web/public/navigation_item.h |
diff --git a/ios/web/public/navigation_item.h b/ios/web/public/navigation_item.h |
index 48a62f7f1670d9851490510c0d8ed11d37207e52..305d80cbe3cda8c87320066c03df0de9b22b890f 100644 |
--- a/ios/web/public/navigation_item.h |
+++ b/ios/web/public/navigation_item.h |
@@ -38,6 +38,11 @@ class NavigationItem : public base::SupportsUserData { |
// the pending entry's ID must be copied). |
virtual int GetUniqueID() const = 0; |
+ // The original URL for the navigation request. This may differ from GetURL() |
+ // if a redirect occurs after attempting to load this original URL. |
+ virtual void SetOriginalRequestURL(const GURL& url) = 0; |
+ virtual const GURL& GetOriginalRequestURL() const = 0; |
+ |
// The actual URL of the page. For some about pages, this may be a scary |
// data: URL or something like that. Use GetVirtualURL() below for showing to |
// the user. |