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

Unified Diff: content/browser/web_contents/navigation_entry_impl.cc

Issue 9999010: Store original request URL in NavigationEntry (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebasing Created 8 years, 8 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: content/browser/web_contents/navigation_entry_impl.cc
diff --git a/content/browser/web_contents/navigation_entry_impl.cc b/content/browser/web_contents/navigation_entry_impl.cc
index 60f58b9b6b63fc7092e887310ebfff6112bdfc38..15ac9cbed0a196716f6cb198a61eb08f74747249 100644
--- a/content/browser/web_contents/navigation_entry_impl.cc
+++ b/content/browser/web_contents/navigation_entry_impl.cc
@@ -218,4 +218,12 @@ SSLStatus& NavigationEntryImpl::GetSSL() {
return ssl_;
}
+void NavigationEntryImpl::SetOriginalRequestURL(const GURL& original_url) {
+ original_request_url_ = original_url;
+}
+
+const GURL& NavigationEntryImpl::GetOriginalRequestURL() const {
+ return original_request_url_;
+}
+
} // namespace content
« no previous file with comments | « content/browser/web_contents/navigation_entry_impl.h ('k') | content/browser/web_contents/navigation_entry_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698