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

Unified Diff: services/user/user_service.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 | « services/user/user_service.h ('k') | ui/views/mus/aura_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/user/user_service.cc
diff --git a/services/user/user_service.cc b/services/user/user_service.cc
index 86fff823ae481c803795677513ab7aaac660f69f..59d91107fcf62c20ad4dc5a4879d7b676b6001ea 100644
--- a/services/user/user_service.cc
+++ b/services/user/user_service.cc
@@ -24,7 +24,7 @@ UserService::UserService(const base::FilePath& base_user_dir,
UserService::~UserService() {}
-void UserService::GetDirectory(filesystem::DirectoryRequest request,
+void UserService::GetDirectory(filesystem::mojom::DirectoryRequest request,
const GetDirectoryCallback& callback) {
new filesystem::DirectoryImpl(std::move(request), path_,
scoped_refptr<filesystem::SharedTempDir>(),
@@ -33,7 +33,7 @@ void UserService::GetDirectory(filesystem::DirectoryRequest request,
}
void UserService::GetSubDirectory(const mojo::String& sub_directory_path,
- filesystem::DirectoryRequest request,
+ filesystem::mojom::DirectoryRequest request,
const GetSubDirectoryCallback& callback) {
// Ensure that we've made |subdirectory| recursively under our user dir.
base::FilePath subdir = path_.Append(
@@ -44,14 +44,14 @@ void UserService::GetSubDirectory(const mojo::String& sub_directory_path,
#endif
base::File::Error error;
if (!base::CreateDirectoryAndGetError(subdir, &error)) {
- callback.Run(static_cast<filesystem::FileError>(error));
+ callback.Run(static_cast<filesystem::mojom::FileError>(error));
return;
}
new filesystem::DirectoryImpl(std::move(request), subdir,
scoped_refptr<filesystem::SharedTempDir>(),
lock_table_);
- callback.Run(filesystem::FileError::OK);
+ callback.Run(filesystem::mojom::FileError::OK);
}
} // namespace user_service
« no previous file with comments | « services/user/user_service.h ('k') | ui/views/mus/aura_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698