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

Unified Diff: components/filesystem/file_system_impl.cc

Issue 1962503002: Add mojom module suffix in .mojom files for components/filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/file_system_impl.h ('k') | components/filesystem/files_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/file_system_impl.cc
diff --git a/components/filesystem/file_system_impl.cc b/components/filesystem/file_system_impl.cc
index 44f9333940577d73ff353d065944050dd8166eeb..c2303d79e1fb7123dbe844866835300b272310d9 100644
--- a/components/filesystem/file_system_impl.cc
+++ b/components/filesystem/file_system_impl.cc
@@ -23,7 +23,7 @@
namespace filesystem {
FileSystemImpl::FileSystemImpl(shell::Connection* connection,
- FileSystemRequest request,
+ mojom::FileSystemRequest request,
base::FilePath persistent_dir,
scoped_refptr<LockTable> lock_table)
: remote_application_name_(connection->GetRemoteIdentity().name()),
@@ -35,7 +35,7 @@ FileSystemImpl::~FileSystemImpl() {
}
void FileSystemImpl::OpenTempDirectory(
- mojo::InterfaceRequest<Directory> directory,
+ mojo::InterfaceRequest<mojom::Directory> directory,
const OpenTempDirectoryCallback& callback) {
// Set only if the |DirectoryImpl| will own a temporary directory.
std::unique_ptr<base::ScopedTempDir> temp_dir(new base::ScopedTempDir);
@@ -46,11 +46,11 @@ void FileSystemImpl::OpenTempDirectory(
new SharedTempDir(std::move(temp_dir));
new DirectoryImpl(
std::move(directory), path, std::move(shared_temp_dir), lock_table_);
- callback.Run(FileError::OK);
+ callback.Run(mojom::FileError::OK);
}
void FileSystemImpl::OpenPersistentFileSystem(
- mojo::InterfaceRequest<Directory> directory,
+ mojo::InterfaceRequest<mojom::Directory> directory,
const OpenPersistentFileSystemCallback& callback) {
std::unique_ptr<base::ScopedTempDir> temp_dir;
base::FilePath path = persistent_dir_;
@@ -62,7 +62,7 @@ void FileSystemImpl::OpenPersistentFileSystem(
new DirectoryImpl(
std::move(directory), path, std::move(shared_temp_dir), lock_table_);
- callback.Run(FileError::OK);
+ callback.Run(mojom::FileError::OK);
}
} // namespace filesystem
« no previous file with comments | « components/filesystem/file_system_impl.h ('k') | components/filesystem/files_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698