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

Unified Diff: components/filesystem/file_system_app.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_app.h ('k') | components/filesystem/file_system_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/file_system_app.cc
diff --git a/components/filesystem/file_system_app.cc b/components/filesystem/file_system_app.cc
index 023976d7e2a3b5dbe5f8bcee47595bd043dc2314..fb73c947c7eccdba397bb416fc4ec5aacc850025 100644
--- a/components/filesystem/file_system_app.cc
+++ b/components/filesystem/file_system_app.cc
@@ -51,9 +51,9 @@ bool FileSystemApp::OnConnect(shell::Connection* connection) {
}
// |InterfaceFactory<Files>| implementation:
-void FileSystemApp::Create(shell::Connection* connection,
+void FileSystemApp::Create(const shell::Identity& remote_identity,
mojo::InterfaceRequest<mojom::FileSystem> request) {
- new FileSystemImpl(connection, std::move(request), GetUserDataDir(),
+ new FileSystemImpl(remote_identity, std::move(request), GetUserDataDir(),
lock_table_);
}
« no previous file with comments | « components/filesystem/file_system_app.h ('k') | components/filesystem/file_system_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698