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

Unified Diff: components/filesystem/files_test_base.cc

Issue 1718123004: mojo filesystem: Further clean ups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jam comments Created 4 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 | « components/filesystem/files_test_base.h ('k') | components/filesystem/public/interfaces/file_system.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/files_test_base.cc
diff --git a/components/filesystem/files_test_base.cc b/components/filesystem/files_test_base.cc
index afc39a8a6f875c9af406d59b6d838183783e2621..d47be0227a70cc9031b19ec75c9c5c9bd86ee856 100644
--- a/components/filesystem/files_test_base.cc
+++ b/components/filesystem/files_test_base.cc
@@ -13,7 +13,7 @@
namespace filesystem {
-FilesTestBase::FilesTestBase() : binding_(this) {
+FilesTestBase::FilesTestBase() {
}
FilesTestBase::~FilesTestBase() {
@@ -24,14 +24,9 @@ void FilesTestBase::SetUp() {
shell()->ConnectToInterface("mojo:filesystem", &files_);
}
-void FilesTestBase::OnFileSystemShutdown() {
-}
-
void FilesTestBase::GetTemporaryRoot(DirectoryPtr* directory) {
FileError error = FileError::FAILED;
- files()->OpenFileSystem("temp", GetProxy(directory),
- binding_.CreateInterfacePtrAndBind(),
- mojo::Capture(&error));
+ files()->OpenTempDirectory(GetProxy(directory), mojo::Capture(&error));
ASSERT_TRUE(files().WaitForIncomingResponse());
ASSERT_EQ(FileError::OK, error);
}
« no previous file with comments | « components/filesystem/files_test_base.h ('k') | components/filesystem/public/interfaces/file_system.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698