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

Unified Diff: mojo/shell/fetcher.h

Issue 1121783003: Move navigations with POST or referrer to the shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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 | « mojo/shell/application_manager_unittest.cc ('k') | mojo/shell/local_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/fetcher.h
diff --git a/mojo/shell/fetcher.h b/mojo/shell/fetcher.h
index 21cad3f225238dde5b699438425b1ffdac6ef1fe..7b135d9270f361f8312f5111a98befec9fca7087 100644
--- a/mojo/shell/fetcher.h
+++ b/mojo/shell/fetcher.h
@@ -47,6 +47,10 @@ class Fetcher {
// redirects. Otherwise, it returns an empty URL.
virtual GURL GetRedirectURL() const = 0;
+ // If the fetch resulted in a redirect, this returns the referer URL to use
+ // with the redirect.
+ virtual GURL GetRedirectReferer() const = 0;
+
virtual URLResponsePtr AsURLResponse(base::TaskRunner* task_runner,
uint32_t skip) = 0;
« no previous file with comments | « mojo/shell/application_manager_unittest.cc ('k') | mojo/shell/local_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698