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

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
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 282b4b1413aef05186f6d3c8d3721394f3882c40..d6093464c5bd5885cb6edb68fb714801400103db 100644
--- a/content/common/mojo/mojo_shell_connection_impl.cc
+++ b/content/common/mojo/mojo_shell_connection_impl.cc
@@ -71,7 +71,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) {
@@ -85,9 +85,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 {

Powered by Google App Engine
This is Rietveld 408576698