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

Unified Diff: sql/mojo/sql_test_base.cc

Issue 1635603002: Make use of CreateInterfacePtrAndBind() where appropriate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 4 years, 11 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 | « net/proxy/proxy_resolver_factory_mojo.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 a5e061d7b325d6970cfb480fe278833fabcc8cc6..3086007dac2764cb36b32e11bad0b96139d51879 100644
--- a/sql/mojo/sql_test_base.cc
+++ b/sql/mojo/sql_test_base.cc
@@ -139,12 +139,10 @@ void SQLTestBase::SetUp() {
application_impl()->ConnectToService("mojo:filesystem", &files_);
- filesystem::FileSystemClientPtr client;
- binding_.Bind(GetProxy(&client));
-
filesystem::FileError error = filesystem::FileError::FAILED;
filesystem::DirectoryPtr directory;
- files()->OpenFileSystem("temp", GetProxy(&directory), std::move(client),
+ files()->OpenFileSystem("temp", GetProxy(&directory),
+ binding_.CreateInterfacePtrAndBind(),
Capture(&error));
ASSERT_TRUE(files().WaitForIncomingResponse());
ASSERT_EQ(filesystem::FileError::OK, error);
« no previous file with comments | « net/proxy/proxy_resolver_factory_mojo.cc ('k') | sql/mojo/vfs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698