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

Unified Diff: public/web/WebDataSource.h

Issue 40323004: Add WebDataSource::appendRedirect for cross-process redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Original patch Created 7 years, 2 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
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebDataSource.h
diff --git a/public/web/WebDataSource.h b/public/web/WebDataSource.h
index 8ddce66bcad1956b616a510e44bb6e72c27f35c0..9c5e2364536e3135f63364fee9d51cbb6a1734dd 100644
--- a/public/web/WebDataSource.h
+++ b/public/web/WebDataSource.h
@@ -68,6 +68,10 @@ public:
virtual bool hasUnreachableURL() const = 0;
virtual WebURL unreachableURL() const = 0;
+ // Allows the embedder to append redirects to the chain as a navigation
+ // is starting, in case it is being transferred from another process.
+ virtual void appendRedirect(const WebURL&) = 0;
+
// Returns all redirects that occurred (both client and server) before
// at last committing the current page. This will contain one entry
// for each intermediate URL, and one entry for the last URL (so if
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698