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

Unified Diff: content/public/browser/navigation_entry.h

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/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index a485100c90aa6acda0da35d68da7196c0b8d7c3c..4218b0e8ba58d806663799eb575ae034098eede8 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -138,6 +138,10 @@ class NavigationEntry {
// All the SSL flags and state. See content::SSLStatus.
virtual const SSLStatus& GetSSL() const = 0;
virtual SSLStatus& GetSSL() = 0;
+
+ // Store the URL that caused this NavigationEntry to be created.
+ virtual void SetOriginalRequestURL(const GURL& original_url) = 0;
+ virtual const GURL& GetOriginalRequestURL() const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698