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

Unified Diff: services/shell/public/cpp/interface_factory_impl.h

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/shell/public/cpp/interface_factory.h ('k') | services/shell/public/cpp/interface_registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/interface_factory_impl.h
diff --git a/services/shell/public/cpp/interface_factory_impl.h b/services/shell/public/cpp/interface_factory_impl.h
index 88fa2a28f9ddb256f2837e15cd7de3192ab0bb2d..7510a0843b92908c823a72d56eb9084aa659c975 100644
--- a/services/shell/public/cpp/interface_factory_impl.h
+++ b/services/shell/public/cpp/interface_factory_impl.h
@@ -7,7 +7,7 @@
#include "services/shell/public/cpp/interface_factory.h"
-namespace mojo {
+namespace shell {
// Use this class to allocate and bind instances of Impl to interface requests.
// The lifetime of the constructed Impl is bound to the pipe.
@@ -18,7 +18,7 @@ class InterfaceFactoryImpl : public InterfaceFactory<Interface> {
virtual ~InterfaceFactoryImpl() {}
virtual void Create(Connection* connection,
- InterfaceRequest<Interface> request) override {
+ mojo::InterfaceRequest<Interface> request) override {
BindToRequest(new Impl(), &request);
}
};
@@ -36,7 +36,7 @@ class InterfaceFactoryImplWithContext : public InterfaceFactory<Interface> {
virtual ~InterfaceFactoryImplWithContext() {}
virtual void Create(Connection* connection,
- InterfaceRequest<Interface> request) override {
+ mojo::InterfaceRequest<Interface> request) override {
BindToRequest(new Impl(context_), &request);
}
@@ -44,6 +44,6 @@ class InterfaceFactoryImplWithContext : public InterfaceFactory<Interface> {
Context* context_;
};
-} // namespace mojo
+} // namespace shell
#endif // SERVICES_SHELL_PUBLIC_CPP_INTERFACE_FACTORY_IMPL_H_
« no previous file with comments | « services/shell/public/cpp/interface_factory.h ('k') | services/shell/public/cpp/interface_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698