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

Unified Diff: content/renderer/mus/render_widget_window_tree_client_factory.cc

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 | « content/renderer/media/media_interface_provider.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mus/render_widget_window_tree_client_factory.cc
diff --git a/content/renderer/mus/render_widget_window_tree_client_factory.cc b/content/renderer/mus/render_widget_window_tree_client_factory.cc
index 584c2bde215802ea5fec569eea2d2ecdab4e3d43..c383e699388dfe5cd54bd760a5c13e39822a17b7 100644
--- a/content/renderer/mus/render_widget_window_tree_client_factory.cc
+++ b/content/renderer/mus/render_widget_window_tree_client_factory.cc
@@ -25,7 +25,8 @@ namespace {
// MojoShellConnection::Listener.
class RenderWidgetWindowTreeClientFactoryImpl
: public MojoShellConnection::Listener,
- public mojo::InterfaceFactory<mojom::RenderWidgetWindowTreeClientFactory>,
+ public shell::InterfaceFactory<
+ mojom::RenderWidgetWindowTreeClientFactory>,
public mojom::RenderWidgetWindowTreeClientFactory {
public:
RenderWidgetWindowTreeClientFactoryImpl() {
@@ -37,13 +38,13 @@ class RenderWidgetWindowTreeClientFactoryImpl
private:
// MojoShellConnection::Listener implementation:
- bool AcceptConnection(mojo::Connection* connection) override {
+ bool AcceptConnection(shell::Connection* connection) override {
connection->AddInterface<mojom::RenderWidgetWindowTreeClientFactory>(this);
return true;
}
- // mojo::InterfaceFactory<mojom::RenderWidgetWindowTreeClientFactory>:
- void Create(mojo::Connection* connection,
+ // shell::InterfaceFactory<mojom::RenderWidgetWindowTreeClientFactory>:
+ void Create(shell::Connection* connection,
mojo::InterfaceRequest<mojom::RenderWidgetWindowTreeClientFactory>
request) override {
bindings_.AddBinding(this, std::move(request));
« no previous file with comments | « content/renderer/media/media_interface_provider.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698