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

Unified Diff: components/profile_service/profile_service_impl.cc

Issue 1737933002: mojo leveldb: Get profile and leveldb connected to DOMStorageContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove most of the LOGs. 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
Index: components/profile_service/profile_service_impl.cc
diff --git a/components/profile_service/profile_service_impl.cc b/components/profile_service/profile_service_impl.cc
index b6239dd706459860cd7bc7d52bf90d00d965cbfe..d133ae9e80a6fa96ce1a984a836e8033b49e3cb2 100644
--- a/components/profile_service/profile_service_impl.cc
+++ b/components/profile_service/profile_service_impl.cc
@@ -29,11 +29,13 @@ ProfileServiceImpl::~ProfileServiceImpl() {
}
void ProfileServiceImpl::GetDirectory(
- mojo::InterfaceRequest<filesystem::Directory> request) {
+ mojo::InterfaceRequest<filesystem::Directory> request,
+ const GetDirectoryCallback& callback) {
new filesystem::DirectoryImpl(std::move(request),
path_,
scoped_ptr<base::ScopedTempDir>(),
lock_table_);
+ callback.Run(filesystem::FileError::OK);
}
} // namespace profile

Powered by Google App Engine
This is Rietveld 408576698