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

Unified Diff: services/user/user_service.cc

Issue 1935863002: mojo: Fix leveldb unittests by making fs::Directories cloneable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Gyp continues to exist. Created 4 years, 8 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/leveldb/leveldb_service_unittest.cc ('k') | no next file » | 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 36292d31faec3b637011460368045615d734b140..1c572a5a7a162c4071bf3ef0691c306d65e0e5a9 100644
--- a/services/user/user_service.cc
+++ b/services/user/user_service.cc
@@ -28,7 +28,7 @@ UserService::~UserService() {}
void UserService::GetDirectory(filesystem::DirectoryRequest request,
const GetDirectoryCallback& callback) {
new filesystem::DirectoryImpl(std::move(request), path_,
- std::unique_ptr<base::ScopedTempDir>(),
+ scoped_refptr<filesystem::SharedTempDir>(),
lock_table_);
callback.Run();
}
@@ -50,7 +50,7 @@ void UserService::GetSubDirectory(const mojo::String& sub_directory_path,
}
new filesystem::DirectoryImpl(std::move(request), subdir,
- std::unique_ptr<base::ScopedTempDir>(),
+ scoped_refptr<filesystem::SharedTempDir>(),
lock_table_);
callback.Run(filesystem::FileError::OK);
}
« no previous file with comments | « components/leveldb/leveldb_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698