quick_pair_keyed_service.cc 650 B

123456789101112131415161718192021222324
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ash/quick_pair/keyed_service/quick_pair_keyed_service.h"
  5. #include <memory>
  6. #include "ash/quick_pair/keyed_service/quick_pair_mediator.h"
  7. namespace ash {
  8. namespace quick_pair {
  9. QuickPairKeyedService::QuickPairKeyedService(std::unique_ptr<Mediator> mediator)
  10. : mediator_(std::move(mediator)) {}
  11. QuickPairKeyedService::~QuickPairKeyedService() = default;
  12. void QuickPairKeyedService::Shutdown() {
  13. mediator_.reset();
  14. }
  15. } // namespace quick_pair
  16. } // namespace ash