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

Unified Diff: services/service_manager/public/cpp/lib/service_context.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
Index: services/service_manager/public/cpp/lib/service_context.cc
diff --git a/services/service_manager/public/cpp/lib/service_context.cc b/services/service_manager/public/cpp/lib/service_context.cc
index a755d4abbc4a2a0c6e83e9fecc074c86bcba1fa6..aff187fe6fb6f05c655ffbac610e337cb4750282 100644
--- a/services/service_manager/public/cpp/lib/service_context.cc
+++ b/services/service_manager/public/cpp/lib/service_context.cc
@@ -14,12 +14,12 @@
#include "services/service_manager/public/cpp/lib/connector_impl.h"
#include "services/service_manager/public/cpp/service.h"
-namespace shell {
+namespace service_manager {
////////////////////////////////////////////////////////////////////////////////
// ServiceContext, public:
-ServiceContext::ServiceContext(shell::Service* service,
+ServiceContext::ServiceContext(service_manager::Service* service,
mojom::ServiceRequest request,
std::unique_ptr<Connector> connector,
mojom::ConnectorRequest connector_request)
@@ -49,7 +49,7 @@ void ServiceContext::SetConnectionLostClosure(const base::Closure& closure) {
////////////////////////////////////////////////////////////////////////////////
// ServiceContext, mojom::Service implementation:
-void ServiceContext::OnStart(const shell::Identity& identity,
+void ServiceContext::OnStart(const service_manager::Identity& identity,
const OnStartCallback& callback) {
identity_ = identity;
if (!initialize_handler_.is_null())
@@ -93,4 +93,4 @@ void ServiceContext::OnConnectionError() {
// Connect() will return nullptr if they try to connect to anything.
}
-} // namespace shell
+} // namespace service_manager
« no previous file with comments | « services/service_manager/public/cpp/lib/service.cc ('k') | services/service_manager/public/cpp/lib/service_context_ref.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698