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

Unified Diff: components/mus/mus_app.h

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 years, 10 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 | « components/leveldb/leveldb_apptest.cc ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/mus_app.h
diff --git a/components/mus/mus_app.h b/components/mus/mus_app.h
index 5a349c5ed4ca3f1805f3e758ccdc0edd35cf866b..5c80f477798b86b86bcb809f5afec4267b4d168b 100644
--- a/components/mus/mus_app.h
+++ b/components/mus/mus_app.h
@@ -24,7 +24,7 @@
#include "mojo/shell/public/cpp/shell_client.h"
namespace mojo {
-class Shell;
+class Connector;
}
namespace ui {
@@ -60,10 +60,10 @@ class MandolineUIServicesApp
// has been established.
struct PendingRequest;
- void InitializeResources(mojo::Shell* shell);
+ void InitializeResources(mojo::Connector* connector);
// mojo::ShellClient:
- void Initialize(mojo::Shell* shell, const std::string& url,
+ void Initialize(mojo::Connector* connector, const std::string& url,
uint32_t id, uint32_t user_id) override;
bool AcceptConnection(mojo::Connection* connection) override;
@@ -105,7 +105,7 @@ class MandolineUIServicesApp
mojom::WindowTreeClientPtr tree_client) override;
mojo::BindingSet<mojom::WindowTreeHostFactory> factory_bindings_;
- mojo::Shell* shell_;
+ mojo::Connector* connector_;
scoped_ptr<ws::ConnectionManager> connection_manager_;
scoped_refptr<GpuState> gpu_state_;
scoped_ptr<ui::PlatformEventSource> event_source_;
« no previous file with comments | « components/leveldb/leveldb_apptest.cc ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698