Index: content/browser/frame_host/navigation_entry_impl.h |
diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h |
index 613f45edb42b039a7f1d1a2a6830610a60c8e4f6..c6fee291fb5da6f8904e971ca3da1a00167cadc5 100644 |
--- a/content/browser/frame_host/navigation_entry_impl.h |
+++ b/content/browser/frame_host/navigation_entry_impl.h |
@@ -89,6 +89,8 @@ class CONTENT_EXPORT NavigationEntryImpl |
virtual void SetRedirectChain(const std::vector<GURL>& redirects) OVERRIDE; |
virtual const std::vector<GURL>& GetRedirectChain() const OVERRIDE; |
virtual bool IsRestored() const OVERRIDE; |
+ virtual void SetVirtualURLForTransition(const GURL& url) OVERRIDE; |
+ virtual const GURL& GetVirtualURLForTransition() const OVERRIDE; |
// Once a navigation entry is committed, we should no longer track several |
// pieces of non-persisted state, as documented on the members below. |
@@ -338,6 +340,12 @@ class CONTENT_EXPORT NavigationEntryImpl |
// time (see TabNavigation for an example of this). |
std::map<std::string, base::string16> extra_data_; |
+ // The virtual URL, when nonempty, will override the actual URL of the page |
+ // when we determine the site instance to use. This allows us to redirect |
+ // a url to a particular process if need be. This entry is not persisted |
+ // since it's only used by the embedder's transition layer. |
+ GURL virtual_url_for_transition; |
+ |
// Copy and assignment is explicitly allowed for this class. |
}; |