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

Unified Diff: content/child/child_thread_impl.cc

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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/child/child_thread_impl.h ('k') | content/child/service_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index f587b3bd73642daa02f6449c9e797646b4ce31ca..821d1a7eb3eb2a1fd9206c595bf6d024411d11f7 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -263,9 +263,9 @@ class ChannelBootstrapFilter : public ConnectionFilter {
private:
// ConnectionFilter:
- bool OnConnect(const shell::Identity& remote_identity,
- shell::InterfaceRegistry* registry,
- shell::Connector* connector) override {
+ bool OnConnect(const service_manager::Identity& remote_identity,
+ service_manager::InterfaceRegistry* registry,
+ service_manager::Connector* connector) override {
if (remote_identity.name() != kBrowserServiceName)
return false;
@@ -452,13 +452,13 @@ void ChildThreadImpl::Init(const Options& options) {
mojo::edk::CreateChildMessagePipe(service_request_token);
DCHECK(handle.is_valid());
service_manager_connection_ = ServiceManagerConnection::Create(
- mojo::MakeRequest<shell::mojom::Service>(std::move(handle)),
+ mojo::MakeRequest<service_manager::mojom::Service>(std::move(handle)),
GetIOTaskRunner());
// When connect_to_browser is true, we obtain interfaces from the browser
// process by connecting to it, rather than from the incoming interface
// provider. Exposed interfaces are subject to manifest capability spec.
- shell::InterfaceProvider* remote_interfaces = nullptr;
+ service_manager::InterfaceProvider* remote_interfaces = nullptr;
if (options.connect_to_browser) {
browser_connection_ =
service_manager_connection_->GetConnector()->Connect(
@@ -655,18 +655,18 @@ ServiceManagerConnection* ChildThreadImpl::GetServiceManagerConnection() {
return service_manager_connection_.get();
}
-shell::InterfaceRegistry* ChildThreadImpl::GetInterfaceRegistry() {
+service_manager::InterfaceRegistry* ChildThreadImpl::GetInterfaceRegistry() {
if (!interface_registry_.get())
- interface_registry_.reset(new shell::InterfaceRegistry);
+ interface_registry_.reset(new service_manager::InterfaceRegistry);
return interface_registry_.get();
}
-shell::InterfaceProvider* ChildThreadImpl::GetRemoteInterfaces() {
+service_manager::InterfaceProvider* ChildThreadImpl::GetRemoteInterfaces() {
if (browser_connection_)
return browser_connection_->GetRemoteInterfaces();
if (!remote_interfaces_.get())
- remote_interfaces_.reset(new shell::InterfaceProvider);
+ remote_interfaces_.reset(new service_manager::InterfaceProvider);
return remote_interfaces_.get();
}
« no previous file with comments | « content/child/child_thread_impl.h ('k') | content/child/service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698