1 // Copyright 2019 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 5 #include "services/audio/testing_api_binder.h" 6 7 #include "base/no_destructor.h" 8 9 namespace audio { 10 GetTestingApiBinder()11TestingApiBinder& GetTestingApiBinder() { 12 static base::NoDestructor<TestingApiBinder> binder; 13 return *binder; 14 } 15 GetSystemInfoBinderForTesting()16SystemInfoBinder& GetSystemInfoBinderForTesting() { 17 static base::NoDestructor<SystemInfoBinder> binder; 18 return *binder; 19 } 20 21 } // namespace audio 22