// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_INVALIDATION_PROFILE_INVALIDATION_PROVIDER_FACTORY_H_ #define CHROME_BROWSER_INVALIDATION_PROFILE_INVALIDATION_PROVIDER_FACTORY_H_ #include "base/no_destructor.h" #include "chrome/browser/profiles/profile_keyed_service_factory.h" class Profile; namespace policy { class AffiliatedInvalidationServiceProviderImplTest; } namespace invalidation { class ProfileInvalidationProvider; // A BrowserContextKeyedServiceFactory to construct InvalidationServices wrapped // in ProfileInvalidationProviders. The implementation of InvalidationService // may be completely different on different platforms; this class should help to // hide this complexity. It also exposes some factory methods that are useful // for setting up tests that rely on invalidations. class ProfileInvalidationProviderFactory : public ProfileKeyedServiceFactory { … }; } // namespace invalidation #endif // CHROME_BROWSER_INVALIDATION_PROFILE_INVALIDATION_PROVIDER_FACTORY_H_