OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/logging.h" | 5 #include "base/logging.h" |
6 #include "services/util/cpp/factory_service_base.h" | 6 #include "services/util/cpp/factory_service_base.h" |
7 | 7 |
8 namespace mojo { | 8 namespace mojo { |
9 namespace util { | 9 namespace util { |
10 | 10 |
11 FactoryServiceBase::ProductBase::ProductBase(FactoryServiceBase* owner) | 11 FactoryServiceBase::ProductBase::ProductBase(FactoryServiceBase* owner) |
12 : owner_(owner) { | 12 : owner_(owner) { |
13 DCHECK(owner_); | 13 DCHECK(owner_); |
14 } | 14 } |
15 | 15 |
16 FactoryServiceBase::ProductBase::~ProductBase() {} | 16 FactoryServiceBase::ProductBase::~ProductBase() {} |
17 | 17 |
18 FactoryServiceBase::FactoryServiceBase() {} | 18 FactoryServiceBase::FactoryServiceBase() {} |
19 | 19 |
20 FactoryServiceBase::~FactoryServiceBase() {} | 20 FactoryServiceBase::~FactoryServiceBase() {} |
21 | 21 |
22 void FactoryServiceBase::Initialize(ApplicationImpl* app) { | |
23 app_ = app; | |
24 } | |
25 | |
26 } // namespace util | 22 } // namespace util |
27 } // namespace mojo | 23 } // namespace mojo |
OLD | NEW |