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

Unified Diff: content/browser/frame_host/navigation_entry_impl.h

Issue 378743002: Navigation transitions: Place transition page in same process as destination page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/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.
};

Powered by Google App Engine
This is Rietveld 408576698