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

Unified Diff: mojo/fetcher/network_fetcher.h

Issue 1342503003: Move fetching logic out of ApplicationManager, eliminate url mappings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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/fetcher/local_fetcher.cc ('k') | mojo/fetcher/network_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/fetcher/network_fetcher.h
diff --git a/mojo/shell/network_fetcher.h b/mojo/fetcher/network_fetcher.h
similarity index 91%
rename from mojo/shell/network_fetcher.h
rename to mojo/fetcher/network_fetcher.h
index 5b9ab650e7cb8cfcfda8e70919fca9d96ad4def4..d7edcf833f511912d1e93fdd14dba696b8f7cc0b 100644
--- a/mojo/shell/network_fetcher.h
+++ b/mojo/fetcher/network_fetcher.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_SHELL_NETWORK_FETCHER_H_
-#define MOJO_SHELL_NETWORK_FETCHER_H_
+#ifndef MOJO_FETCHER_NETWORK_FETCHER_H_
+#define MOJO_FETCHER_NETWORK_FETCHER_H_
#include "mojo/shell/fetcher.h"
@@ -16,10 +16,10 @@ namespace mojo {
class URLLoaderFactory;
-namespace shell {
+namespace fetcher {
// Implements Fetcher for http[s] files.
-class NetworkFetcher : public Fetcher {
+class NetworkFetcher : public shell::Fetcher {
public:
NetworkFetcher(bool disable_cache,
mojo::URLRequestPtr request,
@@ -79,7 +79,7 @@ class NetworkFetcher : public Fetcher {
DISALLOW_COPY_AND_ASSIGN(NetworkFetcher);
};
-} // namespace shell
+} // namespace fetcher
} // namespace mojo
-#endif // MOJO_SHELL_NETWORK_FETCHER_H_
+#endif // MOJO_FETCHER_NETWORK_FETCHER_H_
« no previous file with comments | « mojo/fetcher/local_fetcher.cc ('k') | mojo/fetcher/network_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698