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

Unified Diff: components/filesystem/files_test_base.cc

Issue 1455833005: Convert ConnectToApplication to take a params class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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: components/filesystem/files_test_base.cc
diff --git a/components/filesystem/files_test_base.cc b/components/filesystem/files_test_base.cc
index bf7a3d034a6ced0e34031b22b91ad669994b86aa..3ed9a61ad174ecee8d34a3b9a8329c3844204543 100644
--- a/components/filesystem/files_test_base.cc
+++ b/components/filesystem/files_test_base.cc
@@ -19,10 +19,7 @@ FilesTestBase::~FilesTestBase() {
void FilesTestBase::SetUp() {
ApplicationTestBase::SetUp();
-
- mojo::URLRequestPtr request(mojo::URLRequest::New());
- request->url = mojo::String::From("mojo:filesystem");
- application_impl()->ConnectToService(request.Pass(), &files_);
+ application_impl()->ConnectToService("mojo:filesystem", &files_);
}
void FilesTestBase::OnFileSystemShutdown() {
« no previous file with comments | « components/devtools_service/devtools_http_server.cc ('k') | components/font_service/public/cpp/font_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698