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

Unified Diff: ios/web/navigation/crw_session_controller.mm

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
« no previous file with comments | « no previous file | ios/web/navigation/crw_session_entry.h » ('j') | ios/web/navigation/crw_session_entry.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/crw_session_controller.mm
diff --git a/ios/web/navigation/crw_session_controller.mm b/ios/web/navigation/crw_session_controller.mm
index e592cce1131a487cff5de23c039041fef4de97f4..aebc75fe73e297ea3c1c3675ea6b03f407a84371 100644
--- a/ios/web/navigation/crw_session_controller.mm
+++ b/ios/web/navigation/crw_session_controller.mm
@@ -765,6 +765,7 @@ - (CRWSessionEntry*)sessionEntryWithURL:(const GURL&)url
&loaded_url, _browserState);
}
std::unique_ptr<web::NavigationItemImpl> item(new web::NavigationItemImpl());
+ item->SetOriginalRequestURL(loaded_url);
item->SetURL(loaded_url);
item->SetReferrer(referrer);
item->SetTransitionType(transition);
« no previous file with comments | « no previous file | ios/web/navigation/crw_session_entry.h » ('j') | ios/web/navigation/crw_session_entry.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698