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

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

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/data_fetcher.h ('k') | mojo/shell/fetcher/data_fetcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/fetcher/data_fetcher.cc
diff --git a/mojo/fetcher/data_fetcher.cc b/mojo/shell/fetcher/data_fetcher.cc
similarity index 97%
rename from mojo/fetcher/data_fetcher.cc
rename to mojo/shell/fetcher/data_fetcher.cc
index d7b96013baa54b4f8e9f6a27b1241b96dfd190f8..2c63a9b3877fc3ac8aaf5265ebebca4c19a43e5d 100644
--- a/mojo/fetcher/data_fetcher.cc
+++ b/mojo/shell/fetcher/data_fetcher.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/fetcher/data_fetcher.h"
+#include "mojo/shell/fetcher/data_fetcher.h"
#include <stdint.h>
@@ -18,7 +18,7 @@
#include "net/base/data_url.h"
namespace mojo {
-namespace fetcher {
+namespace shell {
ScopedDataPipeConsumerHandle CreateConsumerHandleForString(
const std::string& data) {
@@ -115,5 +115,5 @@ bool DataFetcher::PeekFirstLine(std::string* line) {
return false;
}
-} // namespace fetcher
+} // namespace shell
} // namespace mojo
« no previous file with comments | « mojo/shell/fetcher/data_fetcher.h ('k') | mojo/shell/fetcher/data_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698