Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index bfcb092bf96f5b63cad8961c82116408a94788dd..e30cda7e9d1ca2433c2c29982eefc72931fa1783 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -371,6 +371,11 @@ class CONTENT_EXPORT RenderFrameImpl |
const gfx::Range& selection_range, |
const ContextMenuParams& params); |
+ // Returns the original request url. If there is no redirect, the original |
+ // url is the same as ds->request()->url(). If the WebDataSource belongs to a |
+ // frame was loaded by loadData, the original url will be ds->unreachableURL() |
+ static GURL GetOriginalRequestURL(blink::WebDataSource* ds); |
+ |
// Stores the WebFrame we are associated with. |
blink::WebFrame* frame_; |