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

Unified Diff: content/public/browser/navigation_entry.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/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index 6d69b0de4bc2557aa36a60cba1497133abe08635..994a8ea9f1e34dcad4268a176b02095ded0aea83 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -217,6 +217,12 @@ class NavigationEntry {
// True if this entry is restored and hasn't been loaded.
virtual bool IsRestored() const = 0;
+
+ // 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.
+ virtual void SetVirtualURLForTransition(const GURL& url) = 0;
jam 2014/07/14 23:14:21 these aren't used in chrome, so can you just put t
shatch 2014/07/21 17:47:11 Done. Also did some renaming.
+ virtual const GURL& GetVirtualURLForTransition() const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698