cast_crash_storage.cc 492 B

1234567891011121314151617
  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 "chromecast/crash/cast_crash_storage.h"
  5. #include "base/no_destructor.h"
  6. #include "chromecast/crash/cast_crash_storage_impl.h"
  7. namespace chromecast {
  8. CastCrashStorage* CastCrashStorage::GetInstance() {
  9. static base::NoDestructor<CastCrashStorageImpl> storage;
  10. return storage.get();
  11. }
  12. } // namespace chromecast