chromium/chrome/browser/profiles/refcounted_profile_keyed_service_factory.h

// Copyright 2022 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_PROFILES_REFCOUNTED_PROFILE_KEYED_SERVICE_FACTORY_H_
#define CHROME_BROWSER_PROFILES_REFCOUNTED_PROFILE_KEYED_SERVICE_FACTORY_H_

#include "components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h"

#include "chrome/browser/profiles/profile_selections.h"

// Similar intermediate class as `ProfileKeyedServiceFactory` but for RefCounted
// Services.
// Follow `profile_keyed_service_factory.h` for the documentation and usages.
// Any change to this class should also be reflected on
// `ProfileKeyedServiceFactory`.
// For simplicity the unit tests are found in
// profile_keyed_service_factory_unittests.cc.
class RefcountedProfileKeyedServiceFactory
    : public RefcountedBrowserContextKeyedServiceFactory {};

#endif  // CHROME_BROWSER_PROFILES_REFCOUNTED_PROFILE_KEYED_SERVICE_FACTORY_H_