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

Unified Diff: mojo/runner/shell_test_base.cc

Issue 1109993002: Adds support for mojo apps to live in their own directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk and move filename_util to own dir Created 5 years, 8 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/runner/native_runner_unittest.cc ('k') | mojo/runner/shell_test_base_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/shell_test_base.cc
diff --git a/mojo/runner/shell_test_base.cc b/mojo/runner/shell_test_base.cc
index 5f56ae758b411c865c3911164569c4529a21e351..d64899990db396bc32e4c5cf2282e4287ab0a186 100644
--- a/mojo/runner/shell_test_base.cc
+++ b/mojo/runner/shell_test_base.cc
@@ -11,7 +11,7 @@
#include "base/logging.h"
#include "base/path_service.h"
#include "build/build_config.h"
-#include "mojo/runner/filename_util.h"
+#include "mojo/util/filename_util.h"
#include "url/gurl.h"
namespace mojo {
@@ -64,7 +64,8 @@ void ShellTestBase::SetUpTestApplications() {
// mappings registered on the URL resolver are treated as shared libraries.
base::FilePath service_dir;
CHECK(PathService::Get(base::DIR_MODULE, &service_dir));
- shell_context_.url_resolver()->SetMojoBaseURL(FilePathToFileURL(service_dir));
+ shell_context_.url_resolver()->SetMojoBaseURL(
+ util::FilePathToFileURL(service_dir));
}
#endif
« no previous file with comments | « mojo/runner/native_runner_unittest.cc ('k') | mojo/runner/shell_test_base_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698