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

Unified Diff: mojo/shell/network_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/local_fetcher.cc ('k') | mojo/shell/network_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/network_fetcher.h
diff --git a/mojo/shell/network_fetcher.h b/mojo/shell/network_fetcher.h
index 028ec5b212102c81fe2205a26737e93ef4838f69..21fb143a4b7c884aeb87d3b08688080b2d91bcb8 100644
--- a/mojo/shell/network_fetcher.h
+++ b/mojo/shell/network_fetcher.h
@@ -22,7 +22,7 @@ namespace shell {
class NetworkFetcher : public Fetcher {
public:
NetworkFetcher(bool disable_cache,
- const GURL& url,
+ mojo::URLRequestPtr request,
NetworkService* network_service,
const FetchCallback& loader_callback);
@@ -34,6 +34,7 @@ class NetworkFetcher : public Fetcher {
const GURL& GetURL() const override;
GURL GetRedirectURL() const override;
+ GURL GetRedirectReferer() const override;
URLResponsePtr AsURLResponse(base::TaskRunner* task_runner,
uint32_t skip) override;
@@ -63,7 +64,8 @@ class NetworkFetcher : public Fetcher {
bool PeekFirstLine(std::string* line) override;
- void StartNetworkRequest(const GURL& url, NetworkService* network_service);
+ void StartNetworkRequest(mojo::URLRequestPtr request,
+ NetworkService* network_service);
void OnLoadComplete(URLResponsePtr response);
« no previous file with comments | « mojo/shell/local_fetcher.cc ('k') | mojo/shell/network_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698