google_api_key_availability_provider.h 917 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. #ifndef ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_GOOGLE_API_KEY_AVAILABILITY_PROVIDER_H_
  5. #define ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_GOOGLE_API_KEY_AVAILABILITY_PROVIDER_H_
  6. #include "ash/quick_pair/feature_status_tracker/base_enabled_provider.h"
  7. namespace ash {
  8. namespace quick_pair {
  9. // Exposes whether Google API keys are available on the current build. Since
  10. // this cannot be changed at runtime, there is no need to register an observer.
  11. class GoogleApiKeyAvailabilityProvider : public BaseEnabledProvider {
  12. public:
  13. GoogleApiKeyAvailabilityProvider();
  14. ~GoogleApiKeyAvailabilityProvider() override;
  15. };
  16. } // namespace quick_pair
  17. } // namespace ash
  18. #endif // ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_GOOGLE_API_KEY_AVAILABILITY_PROVIDER_H_