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

Unified Diff: mojo/shell/mojo_url_resolver.cc

Issue 640403002: Drop refs to net::EmbeddedTestServer / net::File{Path,URL} utils in mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use DecodeURLEscapeSequences Created 6 years, 2 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
Index: mojo/shell/mojo_url_resolver.cc
diff --git a/mojo/shell/mojo_url_resolver.cc b/mojo/shell/mojo_url_resolver.cc
index 75c625ca6c3fb44105f812f34f0d48d807f3dc24..beaa8d8546ab80b5d43b4f819dff9f73c1258370 100644
--- a/mojo/shell/mojo_url_resolver.cc
+++ b/mojo/shell/mojo_url_resolver.cc
@@ -8,7 +8,7 @@
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/path_service.h"
-#include "net/base/filename_util.h"
+#include "mojo/shell/filename_util.h"
#include "url/url_util.h"
namespace mojo {
@@ -47,7 +47,7 @@ MojoURLResolver::MojoURLResolver() {
// By default, resolve mojo URLs to files living alongside the shell.
base::FilePath path;
PathService::Get(base::DIR_MODULE, &path);
- default_base_url_ = AddTrailingSlashIfNeeded(net::FilePathToFileURL(path));
+ default_base_url_ = AddTrailingSlashIfNeeded(FilePathToFileURL(path));
}
MojoURLResolver::~MojoURLResolver() {

Powered by Google App Engine
This is Rietveld 408576698