| // Copyright 2020 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 "chrome/browser/chromeos/borealis/borealis_service_impl.h" |
| |
| #include "chrome/browser/chromeos/borealis/borealis_app_launcher.h" |
| #include "chrome/browser/chromeos/borealis/borealis_features.h" |
| #include "chrome/browser/chromeos/borealis/borealis_window_manager.h" |
| #include "chrome/browser/profiles/profile.h" |
| |
| namespace borealis { |
| |
| BorealisServiceImpl::BorealisServiceImpl(Profile* profile) |
| : profile_(profile), |
| app_launcher_(profile_), |
| features_(profile_), |
| window_manager_(profile_) {} |
| |
| BorealisServiceImpl::~BorealisServiceImpl() = default; |
| |
| BorealisAppLauncher& BorealisServiceImpl::AppLauncher() { |
| return app_launcher_; |
| } |
| |
| BorealisFeatures& BorealisServiceImpl::Features() { |
| return features_; |
| } |
| |
| BorealisWindowManager& BorealisServiceImpl::WindowManager() { |
| return window_manager_; |
| } |
| |
| } // namespace borealis |