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

Unified Diff: components/filesystem/file_system_impl.cc

Issue 2182643003: Remove shell::Connection* parameter to InterfaceFactory<T>::Create() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/font_service/font_service_app.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 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) {}
« no previous file with comments | « components/filesystem/file_system_impl.h ('k') | components/font_service/font_service_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698