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

Unified Diff: shell/shell_test_base.cc

Issue 868283006: Rename MojoURLResolver to URLResolver (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix test Created 5 years, 10 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 | « shell/mojo_url_resolver_unittest.cc ('k') | shell/shell_test_base_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/shell_test_base.cc
diff --git a/shell/shell_test_base.cc b/shell/shell_test_base.cc
index b0c74e0d9c223001f05f20701c1ee1e017eefe9c..6e4f18c47c052f2f18077ea675d6330871542527 100644
--- a/shell/shell_test_base.cc
+++ b/shell/shell_test_base.cc
@@ -37,14 +37,13 @@ ScopedMessagePipeHandle ShellTestBase::ConnectToService(
#if !defined(OS_ANDROID)
void ShellTestBase::SetUpTestApplications() {
- // Set the MojoURLResolver origin to be the same as the base file path for
+ // Set the URLResolver origin to be the same as the base file path for
// local files. This is primarily for test convenience, so that references
// to unknown mojo: urls that do not have specific local file or custom
// 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_.mojo_url_resolver()->SetBaseURL(
- FilePathToFileURL(service_dir));
+ shell_context_.url_resolver()->SetMojoBaseURL(FilePathToFileURL(service_dir));
}
#endif
« no previous file with comments | « shell/mojo_url_resolver_unittest.cc ('k') | shell/shell_test_base_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698