summaryrefslogtreecommitdiffstats
path: root/mojo/public/cpp/shell/lib/service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/public/cpp/shell/lib/service.cc')
-rw-r--r--mojo/public/cpp/shell/lib/service.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/mojo/public/cpp/shell/lib/service.cc b/mojo/public/cpp/shell/lib/service.cc
new file mode 100644
index 0000000..391a576
--- /dev/null
+++ b/mojo/public/cpp/shell/lib/service.cc
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "mojo/public/cpp/shell/service.h"
+
+namespace mojo {
+namespace internal {
+
+ServiceFactoryBase::Owner::Owner(ScopedShellHandle shell_handle)
+ : shell_(shell_handle.Pass(), this) {
+}
+
+ServiceFactoryBase::Owner::~Owner() {}
+
+ServiceFactoryBase::~ServiceFactoryBase() {}
+
+} // namespace internal
+} // namespace mojo