123456789101112131415161718192021222324252627282930 |
- // Copyright 2021 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #ifndef ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_MOCK_GOOGLE_API_KEY_AVAILABILITY_PROVIDER_H_
- #define ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_MOCK_GOOGLE_API_KEY_AVAILABILITY_PROVIDER_H_
- #include "ash/quick_pair/feature_status_tracker/google_api_key_availability_provider.h"
- #include "testing/gmock/include/gmock/gmock.h"
- namespace ash {
- namespace quick_pair {
- class MockGoogleApiKeyAvailabilityProvider
- : public GoogleApiKeyAvailabilityProvider {
- public:
- MockGoogleApiKeyAvailabilityProvider();
- MockGoogleApiKeyAvailabilityProvider(
- const MockGoogleApiKeyAvailabilityProvider&) = delete;
- MockGoogleApiKeyAvailabilityProvider& operator=(
- const MockGoogleApiKeyAvailabilityProvider&) = delete;
- ~MockGoogleApiKeyAvailabilityProvider() override;
- MOCK_METHOD(bool, is_enabled, (), (override));
- };
- } // namespace quick_pair
- } // namespace ash
- #endif // ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_MOCK_GOOGLE_API_KEY_AVAILABILITY_PROVIDER_H_
|