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

Unified Diff: components/filesystem/file_system_app.cc

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . 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
« no previous file with comments | « components/filesystem/file_system_app.h ('k') | components/filesystem/files_test_base.cc » ('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 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) {
« no previous file with comments | « components/filesystem/file_system_app.h ('k') | components/filesystem/files_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698