#ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXPANDED_STATE_TRACKER_FACTORY_H_
#define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXPANDED_STATE_TRACKER_FACTORY_H_
#include "base/no_destructor.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
class BookmarkExpandedStateTracker;
class BookmarkExpandedStateTrackerFactory : public ProfileKeyedServiceFactory {
public:
static BookmarkExpandedStateTracker* GetForProfile(Profile* profile);
static BookmarkExpandedStateTrackerFactory* GetInstance();
BookmarkExpandedStateTrackerFactory(
const BookmarkExpandedStateTrackerFactory&) = delete;
BookmarkExpandedStateTrackerFactory& operator=(
const BookmarkExpandedStateTrackerFactory&) = delete;
private:
friend class base::NoDestructor<BookmarkExpandedStateTrackerFactory>;
BookmarkExpandedStateTrackerFactory();
~BookmarkExpandedStateTrackerFactory() override;
std::unique_ptr<KeyedService> BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const override;
void RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) override;
};
#endif