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

Unified Diff: services/util/cpp/factory_service_base.cc

Issue 2007593004: Motown: Factor FactoryServiceBase out of MediaFactoryService (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | « services/util/cpp/factory_service_base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « services/util/cpp/factory_service_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698