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

Unified Diff: mojo/fetcher/local_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/base_application_fetcher.cc ('k') | mojo/fetcher/local_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/fetcher/local_fetcher.h
diff --git a/mojo/shell/local_fetcher.h b/mojo/fetcher/local_fetcher.h
similarity index 85%
rename from mojo/shell/local_fetcher.h
rename to mojo/fetcher/local_fetcher.h
index 53b598fab49b705b16760409111df1a0f3263799..7adb9b4c93db6e8ccb2631387c8ca8fa91cd0ba9 100644
--- a/mojo/shell/local_fetcher.h
+++ b/mojo/fetcher/local_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_LOCAL_FETCHER_H_
-#define MOJO_SHELL_LOCAL_FETCHER_H_
+#ifndef MOJO_FETCHER_LOCAL_FETCHER_H_
+#define MOJO_FETCHER_LOCAL_FETCHER_H_
#include <string>
@@ -15,10 +15,10 @@ namespace mojo {
class NetworkService;
-namespace shell {
+namespace fetcher {
// Implements Fetcher for file:// URLs.
-class LocalFetcher : public Fetcher {
+class LocalFetcher : public shell::Fetcher {
public:
LocalFetcher(NetworkService* network_service,
const GURL& url,
@@ -52,8 +52,7 @@ class LocalFetcher : public Fetcher {
DISALLOW_COPY_AND_ASSIGN(LocalFetcher);
};
-} // namespace shell
-
+} // namespace fetcher
} // namespace mojo
-#endif // MOJO_SHELL_LOCAL_FETCHER_H_
+#endif // MOJO_FETCHER_LOCAL_FETCHER_H_
« no previous file with comments | « mojo/fetcher/base_application_fetcher.cc ('k') | mojo/fetcher/local_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698