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

Unified Diff: mojo/shell/fetcher/data_fetcher.h

Issue 1563413002: Move fetchers into mojo/shell/fetcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/fetcher/about_fetcher_unittest.cc ('k') | mojo/shell/fetcher/data_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/fetcher/data_fetcher.h
diff --git a/mojo/fetcher/data_fetcher.h b/mojo/shell/fetcher/data_fetcher.h
similarity index 83%
rename from mojo/fetcher/data_fetcher.h
rename to mojo/shell/fetcher/data_fetcher.h
index bbf1f427b1a5c0558789b80b25b48fb469a9d65a..31737ca1c35aac3c0c651db58aa0a07951f8879a 100644
--- a/mojo/fetcher/data_fetcher.h
+++ b/mojo/shell/fetcher/data_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_FETCHER_DATA_FETCHER_H_
-#define MOJO_FETCHER_DATA_FETCHER_H_
+#ifndef MOJO_SHELL_FETCHER_DATA_FETCHER_H_
+#define MOJO_SHELL_FETCHER_DATA_FETCHER_H_
#include "mojo/shell/fetcher.h"
@@ -14,10 +14,10 @@
#include "url/gurl.h"
namespace mojo {
-namespace fetcher {
+namespace shell {
// Implements Fetcher for data: URLs.
-class DataFetcher : public shell::Fetcher {
+class DataFetcher : public Fetcher {
public:
static void Start(const GURL& url, const FetchCallback& loader_callback);
@@ -27,7 +27,7 @@ class DataFetcher : public shell::Fetcher {
void BuildAndDispatchResponse();
- // shell::Fetcher implementation.
+ // Fetcher implementation.
const GURL& GetURL() const override;
GURL GetRedirectURL() const override;
GURL GetRedirectReferer() const override;
@@ -46,7 +46,7 @@ class DataFetcher : public shell::Fetcher {
DISALLOW_COPY_AND_ASSIGN(DataFetcher);
};
-} // namespace fetcher
+} // namespace shell
} // namespace mojo
-#endif // MOJO_FETCHER_DATA_FETCHER_H_
+#endif // MOJO_SHELL_FETCHER_DATA_FETCHER_H_
« no previous file with comments | « mojo/shell/fetcher/about_fetcher_unittest.cc ('k') | mojo/shell/fetcher/data_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698