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

Unified Diff: content/browser/tab_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: Added to unit test 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/tab_contents/navigation_entry_impl.cc
diff --git a/content/browser/tab_contents/navigation_entry_impl.cc b/content/browser/tab_contents/navigation_entry_impl.cc
index 91385543b5233d5e11288ce56be1f5d9b0a22047..e861720a16f849eb25444d7d212cf731f8a092a1 100644
--- a/content/browser/tab_contents/navigation_entry_impl.cc
+++ b/content/browser/tab_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

Powered by Google App Engine
This is Rietveld 408576698