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

Unified Diff: ios/web/navigation/navigation_item_impl.h

Issue 2578173005: Add GetOriginalRequestURL() to NavigationItem interface. (Closed)
Patch Set: 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: ios/web/navigation/navigation_item_impl.h
diff --git a/ios/web/navigation/navigation_item_impl.h b/ios/web/navigation/navigation_item_impl.h
index 2d58a968c6097107d4ee787c9832aaf3be4d8e6d..8613c3b59e510632e36d23e05b00f4a4826b3dcc 100644
--- a/ios/web/navigation/navigation_item_impl.h
+++ b/ios/web/navigation/navigation_item_impl.h
@@ -42,6 +42,8 @@ class NavigationItemImpl : public web::NavigationItem {
// NavigationItem implementation:
int GetUniqueID() const override;
+ void SetOriginalRequestURL(const GURL& url) override;
+ const GURL& GetOriginalRequestURL() const override;
void SetURL(const GURL& url) override;
const GURL& GetURL() const override;
void SetReferrer(const web::Referrer& referrer) override;
@@ -119,6 +121,7 @@ class NavigationItemImpl : public web::NavigationItem {
private:
int unique_id_;
+ GURL original_request_url_;
GURL url_;
Referrer referrer_;
GURL virtual_url_;

Powered by Google App Engine
This is Rietveld 408576698