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

Unified Diff: content/common/mojo/mojo_shell_connection_impl.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 | « content/common/mojo/mojo_shell_connection_impl.h ('k') | content/public/common/mojo_shell_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/mojo_shell_connection_impl.cc
diff --git a/content/common/mojo/mojo_shell_connection_impl.cc b/content/common/mojo/mojo_shell_connection_impl.cc
index 853120506f7223dd739a62c8b0602e054a7741c8..6b19b3f2e57375366b2a8246ae90d689bf830981 100644
--- a/content/common/mojo/mojo_shell_connection_impl.cc
+++ b/content/common/mojo/mojo_shell_connection_impl.cc
@@ -93,7 +93,7 @@ void MojoShellConnectionImpl::WaitForShell(
shell_connection_->WaitForInitialize();
}
-void MojoShellConnectionImpl::Initialize(mojo::Shell* shell,
+void MojoShellConnectionImpl::Initialize(mojo::Connector* connector,
const std::string& url,
uint32_t id,
uint32_t user_id) {
@@ -107,9 +107,9 @@ bool MojoShellConnectionImpl::AcceptConnection(mojo::Connection* connection) {
return found;
}
-mojo::Shell* MojoShellConnectionImpl::GetShell() {
+mojo::Connector* MojoShellConnectionImpl::GetConnector() {
DCHECK(initialized_);
- return shell_connection_.get();
+ return shell_connection_->connector();
}
bool MojoShellConnectionImpl::UsingExternalShell() const {
« no previous file with comments | « content/common/mojo/mojo_shell_connection_impl.h ('k') | content/public/common/mojo_shell_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698