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

Unified Diff: mojo/shell/fetcher/about_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/about_fetcher.h ('k') | mojo/shell/fetcher/about_fetcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/fetcher/about_fetcher.cc
diff --git a/mojo/fetcher/about_fetcher.cc b/mojo/shell/fetcher/about_fetcher.cc
similarity index 93%
rename from mojo/fetcher/about_fetcher.cc
rename to mojo/shell/fetcher/about_fetcher.cc
index 9e301db9f1addde6d665e16f7b98e6ae7bf5e07e..1118198372ec4e241196c7bf13eb4369adb885b8 100644
--- a/mojo/fetcher/about_fetcher.cc
+++ b/mojo/shell/fetcher/about_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/about_fetcher.h"
+#include "mojo/shell/fetcher/about_fetcher.h"
#include <stdint.h>
@@ -15,11 +15,11 @@
#include "base/message_loop/message_loop.h"
namespace mojo {
-namespace fetcher {
+namespace shell {
namespace {
-void RunFetcherCallback(const shell::Fetcher::FetchCallback& callback,
- scoped_ptr<shell::Fetcher> fetcher,
+void RunFetcherCallback(const Fetcher::FetchCallback& callback,
+ scoped_ptr<Fetcher> fetcher,
bool success) {
callback.Run(success ? std::move(fetcher) : nullptr);
}
@@ -112,5 +112,5 @@ bool AboutFetcher::PeekFirstLine(std::string* line) {
return false;
}
-} // namespace fetcher
+} // namespace shell
} // namespace mojo
« no previous file with comments | « mojo/shell/fetcher/about_fetcher.h ('k') | mojo/shell/fetcher/about_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698