Index: components/filesystem/file_system_impl.cc |
diff --git a/components/filesystem/file_system_impl.cc b/components/filesystem/file_system_impl.cc |
index c2303d79e1fb7123dbe844866835300b272310d9..5fa0e6366c345cc629464b814683cdbff19d1dd8 100644 |
--- a/components/filesystem/file_system_impl.cc |
+++ b/components/filesystem/file_system_impl.cc |
@@ -17,16 +17,16 @@ |
#include "build/build_config.h" |
#include "components/filesystem/directory_impl.h" |
#include "components/filesystem/lock_table.h" |
-#include "services/shell/public/cpp/connection.h" |
+#include "services/shell/public/cpp/identity.h" |
#include "url/gurl.h" |
namespace filesystem { |
-FileSystemImpl::FileSystemImpl(shell::Connection* connection, |
+FileSystemImpl::FileSystemImpl(const shell::Identity& remote_identity, |
mojom::FileSystemRequest request, |
base::FilePath persistent_dir, |
scoped_refptr<LockTable> lock_table) |
- : remote_application_name_(connection->GetRemoteIdentity().name()), |
+ : remote_application_name_(remote_identity.name()), |
binding_(this, std::move(request)), |
lock_table_(std::move(lock_table)), |
persistent_dir_(persistent_dir) {} |