// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_AFFILIATIONS_CORE_BROWSER_AFFILIATION_PREFETCHER_H_ #define COMPONENTS_AFFILIATIONS_CORE_BROWSER_AFFILIATION_PREFETCHER_H_ #include <memory> #include <vector> #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "components/affiliations/core/browser/affiliation_source.h" namespace affiliations { class AffiliationService; class FacetURI; // This class prefetches affiliation information on start-up for all registered // affiliation sources. class AffiliationPrefetcher : public AffiliationSource::Observer { … }; } // namespace affiliations #endif // COMPONENTS_AFFILIATIONS_CORE_BROWSER_AFFILIATION_PREFETCHER_H_