Chromium Code Reviews

Side by Side Diff: services/util/cpp/factory_service_base.cc

Issue 2010283006: Almost done: ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work798-x-work797-x-work796_no_run_main_app
Patch Set: rebased Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « services/util/cpp/factory_service_base.h ('k') | shell/android/android_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « services/util/cpp/factory_service_base.h ('k') | shell/android/android_handler.h » ('j') | no next file with comments »

Powered by Google App Engine