1 // Copyright 2019 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "services/device/binder_overrides.h"
7 #include "base/no_destructor.h"
8 #include "build/build_config.h"
13 GeolocationContextBinder& GetGeolocationContextBinderOverride() {
14 static base::NoDestructor<GeolocationContextBinder> binder;
18 PressureManagerBinder& GetPressureManagerBinderOverride() {
19 static base::NoDestructor<PressureManagerBinder> binder;
23 #if BUILDFLAG(IS_ANDROID)
24 NFCProviderBinder& GetNFCProviderBinderOverride() {
25 static base::NoDestructor<NFCProviderBinder> binder;
30 } // namespace internal