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

Unified Diff: mash/shell/shell_application_delegate.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 | « mash/screenlock/screenlock.cc ('k') | mash/shell/shell_application_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/shell/shell_application_delegate.h
diff --git a/mash/shell/shell_application_delegate.h b/mash/shell/shell_application_delegate.h
index 524a554a0e6ab2e7a109b9657b8e2c905f58431b..a429f34a438155919f1fcda7e4f71170c3e4d034 100644
--- a/mash/shell/shell_application_delegate.h
+++ b/mash/shell/shell_application_delegate.h
@@ -33,7 +33,7 @@ class ShellApplicationDelegate
private:
// 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;
@@ -60,7 +60,7 @@ class ShellApplicationDelegate
void StartRestartableService(const std::string& url,
const base::Closure& restart_callback);
- mojo::Shell* shell_;
+ mojo::Connector* connector_;
std::map<std::string, scoped_ptr<mojo::Connection>> connections_;
bool screen_locked_;
mojo::BindingSet<mash::shell::mojom::Shell> bindings_;
« no previous file with comments | « mash/screenlock/screenlock.cc ('k') | mash/shell/shell_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698