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

Unified Diff: mojo/public/shell/service.h

Issue 162213002: Change mojo demo apps to use Application. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « mojo/public/shell/lib/application.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/shell/service.h
diff --git a/mojo/public/shell/service.h b/mojo/public/shell/service.h
index 1a68353a165fa6c7a1de312da387f1ef220539e9..f8a62e6465228ab3a96fe80317845a763a1737e6 100644
--- a/mojo/public/shell/service.h
+++ b/mojo/public/shell/service.h
@@ -153,6 +153,7 @@ class Service : public ServiceInterface {
}
Context* context() const { return service_factory_->context(); }
+ Shell* GetShell() { return service_factory_->GetShell(); }
darin (slow to review) 2014/02/13 00:05:39 hmm, it'd be nice if GetShell() could just be shel
typename ServiceInterface::_Peer* client() { return client_.get(); }
private:
« no previous file with comments | « mojo/public/shell/lib/application.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698