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

Unified Diff: sql/mojo/sql_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
« no previous file with comments | « mojo/shell/capability_filter_test.cc ('k') | sql/mojo/vfs_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/mojo/sql_test_base.cc
diff --git a/sql/mojo/sql_test_base.cc b/sql/mojo/sql_test_base.cc
index 107411342bf8fe51f2446e9ea95a3a79890901b0..30187280b30c0f20986e61332acfbd473aa04e8e 100644
--- a/sql/mojo/sql_test_base.cc
+++ b/sql/mojo/sql_test_base.cc
@@ -133,9 +133,7 @@ void SQLTestBase::TruncateDatabase() {
void SQLTestBase::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_);
filesystem::FileSystemClientPtr client;
binding_.Bind(GetProxy(&client));
« no previous file with comments | « mojo/shell/capability_filter_test.cc ('k') | sql/mojo/vfs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698