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

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: cast length explicitly 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
« no previous file with comments | « mojo/shell/filename_util.cc ('k') | mojo/shell/shell_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/mojo_url_resolver.cc
diff --git a/mojo/shell/mojo_url_resolver.cc b/mojo/shell/mojo_url_resolver.cc
index b7bc8433a856043a0ba657c94591e0d86e6a2f5a..8d37237d40e0c99f3c9915a607045505025ce470 100644
--- a/mojo/shell/mojo_url_resolver.cc
+++ b/mojo/shell/mojo_url_resolver.cc
@@ -9,7 +9,7 @@
#include "base/logging.h"
#include "base/path_service.h"
#include "base/strings/string_util.h"
-#include "net/base/filename_util.h"
+#include "mojo/shell/filename_util.h"
#include "url/url_util.h"
namespace mojo {
@@ -55,7 +55,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() {
« no previous file with comments | « mojo/shell/filename_util.cc ('k') | mojo/shell/shell_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698