Index: components/filesystem/file_system_app.cc |
diff --git a/components/filesystem/file_system_app.cc b/components/filesystem/file_system_app.cc |
index 0de2211a729820b3caac005f3b5c1b5c98b33028..8bb5354d12470bd5b9f583004acd4cd369349fa2 100644 |
--- a/components/filesystem/file_system_app.cc |
+++ b/components/filesystem/file_system_app.cc |
@@ -8,7 +8,7 @@ |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
#include "mojo/shell/public/cpp/connection.h" |
-#include "mojo/shell/public/cpp/shell.h" |
+#include "mojo/shell/public/cpp/connector.h" |
#if defined(OS_WIN) |
#include "base/base_paths_win.h" |
@@ -33,15 +33,14 @@ const char kUserDataDir[] = "user-data-dir"; |
} // namespace filesystem |
-FileSystemApp::FileSystemApp() |
- : shell_(nullptr), lock_table_(new LockTable) {} |
+FileSystemApp::FileSystemApp() : lock_table_(new LockTable) {} |
FileSystemApp::~FileSystemApp() {} |
-void FileSystemApp::Initialize(mojo::Shell* shell, const std::string& url, |
+void FileSystemApp::Initialize(mojo::Connector* connector, |
+ const std::string& url, |
uint32_t id, uint32_t user_id) { |
- shell_ = shell; |
- tracing_.Initialize(shell, url); |
+ tracing_.Initialize(connector, url); |
} |
bool FileSystemApp::AcceptConnection(mojo::Connection* connection) { |