Index: services/util/cpp/factory_service_base.cc |
diff --git a/services/util/cpp/factory_service_base.cc b/services/util/cpp/factory_service_base.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cc00c1b0def4a1776f32ec5b53eed2eaa669a5c4 |
--- /dev/null |
+++ b/services/util/cpp/factory_service_base.cc |
@@ -0,0 +1,27 @@ |
+// Copyright 2016 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 "base/logging.h" |
+#include "services/util/cpp/factory_service_base.h" |
+ |
+namespace mojo { |
+namespace util { |
+ |
+FactoryServiceBase::ProductBase::ProductBase(FactoryServiceBase* owner) |
+ : owner_(owner) { |
+ DCHECK(owner_); |
+} |
+ |
+FactoryServiceBase::ProductBase::~ProductBase() {} |
+ |
+FactoryServiceBase::FactoryServiceBase() {} |
+ |
+FactoryServiceBase::~FactoryServiceBase() {} |
+ |
+void FactoryServiceBase::Initialize(ApplicationImpl* app) { |
+ app_ = app; |
+} |
+ |
+} // namespace util |
+} // namespace mojo |