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

Unified Diff: services/navigation/navigation.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 | « services/navigation/navigation.h ('k') | services/navigation/navigation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/navigation.cc
diff --git a/services/navigation/navigation.cc b/services/navigation/navigation.cc
index c483acc30e8692e79cb31ed34c5e1a61028d87bf..7c3ef222dcac81515b4fa6aba80201d7d05fdd98 100644
--- a/services/navigation/navigation.cc
+++ b/services/navigation/navigation.cc
@@ -16,11 +16,11 @@ namespace navigation {
namespace {
void CreateViewOnViewTaskRunner(
- std::unique_ptr<shell::Connector> connector,
+ std::unique_ptr<service_manager::Connector> connector,
const std::string& client_user_id,
mojom::ViewClientPtr client,
mojom::ViewRequest request,
- std::unique_ptr<shell::ServiceContextRef> context_ref) {
+ std::unique_ptr<service_manager::ServiceContextRef> context_ref) {
mojo::MakeStrongBinding(
base::MakeUnique<ViewImpl>(std::move(connector), client_user_id,
std::move(client), std::move(context_ref)),
@@ -38,9 +38,9 @@ Navigation::Navigation()
}
Navigation::~Navigation() {}
-bool Navigation::OnConnect(const shell::Identity& remote_identity,
- shell::InterfaceRegistry* registry,
- shell::Connector* connector) {
+bool Navigation::OnConnect(const service_manager::Identity& remote_identity,
+ service_manager::InterfaceRegistry* registry,
+ service_manager::Connector* connector) {
std::string remote_user_id = remote_identity.user_id();
if (!client_user_id_.empty() && client_user_id_ != remote_user_id) {
LOG(ERROR) << "Must have a separate Navigation service instance for "
@@ -56,8 +56,9 @@ bool Navigation::OnConnect(const shell::Identity& remote_identity,
void Navigation::CreateView(mojom::ViewClientPtr client,
mojom::ViewRequest request) {
- std::unique_ptr<shell::Connector> new_connector = connector_->Clone();
- std::unique_ptr<shell::ServiceContextRef> context_ref =
+ std::unique_ptr<service_manager::Connector> new_connector =
+ connector_->Clone();
+ std::unique_ptr<service_manager::ServiceContextRef> context_ref =
ref_factory_.CreateRef();
view_task_runner_->PostTask(
FROM_HERE,
« no previous file with comments | « services/navigation/navigation.h ('k') | services/navigation/navigation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698