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

Unified Diff: services/shell/public/cpp/lib/interface_factory_binder.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
Index: services/shell/public/cpp/lib/interface_factory_binder.h
diff --git a/services/shell/public/cpp/lib/interface_factory_binder.h b/services/shell/public/cpp/lib/interface_factory_binder.h
index 78af4c54aac5d1219649d62fc6547430d5601bc1..bd97a7628257dd8cbcd6b7cea3dd2b11c829e82e 100644
--- a/services/shell/public/cpp/lib/interface_factory_binder.h
+++ b/services/shell/public/cpp/lib/interface_factory_binder.h
@@ -11,7 +11,7 @@
#include "services/shell/public/cpp/interface_binder.h"
#include "services/shell/public/cpp/interface_factory.h"
-namespace mojo {
+namespace shell {
namespace internal {
template <typename Interface>
@@ -21,11 +21,11 @@ class InterfaceFactoryBinder : public InterfaceBinder {
: factory_(factory) {}
~InterfaceFactoryBinder() override {}
- void BindInterface(Connection* connection,
- const std::string& interface_name,
- ScopedMessagePipeHandle client_handle) override {
- factory_->Create(connection,
- MakeRequest<Interface>(std::move(client_handle)));
+ void BindInterface(Connection* connection,
+ const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle client_handle) override {
+ factory_->Create(connection,
+ mojo::MakeRequest<Interface>(std::move(client_handle)));
}
private:
@@ -34,6 +34,6 @@ class InterfaceFactoryBinder : public InterfaceBinder {
};
} // namespace internal
-} // namespace mojo
+} // namespace shell
#endif // SERVICES_SHELL_PUBLIC_CPP_LIB_INTERFACE_FACTORY_BINDER_H_
« no previous file with comments | « services/shell/public/cpp/lib/init_commandline.cc ('k') | services/shell/public/cpp/lib/interface_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698