in_process_esim_manager.cc 580 B

123456789101112131415161718
  1. // Copyright 2020 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/services/cellular_setup/in_process_esim_manager.h"
  5. #include "ash/services/cellular_setup/esim_manager.h"
  6. #include "base/no_destructor.h"
  7. namespace ash::cellular_setup {
  8. void BindToInProcessESimManager(
  9. mojo::PendingReceiver<mojom::ESimManager> receiver) {
  10. static base::NoDestructor<ESimManager> instance;
  11. instance->BindReceiver(std::move(receiver));
  12. }
  13. } // namespace ash::cellular_setup