// Copyright 2020 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_FEED_FEED_SERVICE_FACTORY_H_ #define CHROME_BROWSER_FEED_FEED_SERVICE_FACTORY_H_ #include <string_view> #include "base/no_destructor.h" #include "chrome/browser/profiles/profile_keyed_service_factory.h" namespace content { class BrowserContext; } namespace feed { namespace internal { const std::string_view GetFollowingFeedFollowCountGroupName( size_t follow_count); } class FeedService; // Factory to create one FeedService per browser context. Callers need to // watch out for nullptr when incognito, as the feed should not be used then. class FeedServiceFactory : public ProfileKeyedServiceFactory { … }; } // namespace feed #endif // CHROME_BROWSER_FEED_FEED_SERVICE_FACTORY_H_