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

Unified Diff: mojo/public/shell/lib/service.cc

Issue 162213002: Change mojo demo apps to use Application. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add shell() to ServiceFactory::Owner 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') | mojo/public/shell/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/shell/lib/service.cc
diff --git a/mojo/public/shell/lib/service.cc b/mojo/public/shell/lib/service.cc
index 8ae0d054da29d902e13d7083f21fa28c48b85b88..f638fb2d40e99f5a6a923bad1fada853248a32d5 100644
--- a/mojo/public/shell/lib/service.cc
+++ b/mojo/public/shell/lib/service.cc
@@ -7,6 +7,12 @@
namespace mojo {
namespace internal {
+ServiceFactoryBase::Owner::Owner(ScopedShellHandle shell_handle)
+ : shell_(shell_handle.Pass(), this) {
+}
+
+ServiceFactoryBase::Owner::~Owner() {}
+
ServiceFactoryBase::~ServiceFactoryBase() {}
} // namespace internal
« no previous file with comments | « mojo/public/shell/lib/application.cc ('k') | mojo/public/shell/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698