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

Unified Diff: mojo/shell/network_fetcher.h

Issue 1161463004: Move URL Loader creation to a separate factory object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 6 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.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 21fb143a4b7c884aeb87d3b08688080b2d91bcb8..5b9ab650e7cb8cfcfda8e70919fca9d96ad4def4 100644
--- a/mojo/shell/network_fetcher.h
+++ b/mojo/shell/network_fetcher.h
@@ -14,7 +14,7 @@
namespace mojo {
-class NetworkService;
+class URLLoaderFactory;
namespace shell {
@@ -23,7 +23,7 @@ class NetworkFetcher : public Fetcher {
public:
NetworkFetcher(bool disable_cache,
mojo::URLRequestPtr request,
- NetworkService* network_service,
+ URLLoaderFactory* url_loader_factory,
const FetchCallback& loader_callback);
~NetworkFetcher() override;
@@ -65,7 +65,7 @@ class NetworkFetcher : public Fetcher {
bool PeekFirstLine(std::string* line) override;
void StartNetworkRequest(mojo::URLRequestPtr request,
- NetworkService* network_service);
+ URLLoaderFactory* url_loader_factory);
void OnLoadComplete(URLResponsePtr response);
« no previous file with comments | « mojo/shell/application_manager.cc ('k') | mojo/shell/network_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698