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

Unified Diff: mojo/shell/public/cpp/lib/connection_impl.cc

Issue 1728083002: Extract a Connector interface from Shell that can be cloned & passed to other threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@12uid
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 | « mojo/shell/public/cpp/lib/connection_impl.h ('k') | mojo/shell/public/cpp/lib/connector_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/lib/connection_impl.cc
diff --git a/mojo/shell/public/cpp/lib/connection_impl.cc b/mojo/shell/public/cpp/lib/connection_impl.cc
index 7fb65b5c803b4431290672a3e9e7ef2be1aa984d..4897bb3df25108ac7b7c0e65b9d1dd7df450e333 100644
--- a/mojo/shell/public/cpp/lib/connection_impl.cc
+++ b/mojo/shell/public/cpp/lib/connection_impl.cc
@@ -40,7 +40,7 @@ ConnectionImpl::ConnectionImpl(
weak_factory_(this) {}
ConnectionImpl::ConnectionImpl()
- : remote_id_(shell::mojom::Shell::kInvalidApplicationID),
+ : remote_id_(shell::mojom::Connector::kInvalidApplicationID),
remote_ids_valid_(false),
local_registry_(shell::mojom::InterfaceProviderRequest(), this),
allow_all_interfaces_(true),
@@ -48,7 +48,7 @@ ConnectionImpl::ConnectionImpl()
ConnectionImpl::~ConnectionImpl() {}
-shell::mojom::Shell::ConnectCallback ConnectionImpl::GetConnectCallback() {
+shell::mojom::Connector::ConnectCallback ConnectionImpl::GetConnectCallback() {
return base::Bind(&ConnectionImpl::OnGotInstanceID,
weak_factory_.GetWeakPtr());
}
« no previous file with comments | « mojo/shell/public/cpp/lib/connection_impl.h ('k') | mojo/shell/public/cpp/lib/connector_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698