#ifndef CHROME_BROWSER_COLLABORATION_COLLABORATION_SERVICE_FACTORY_H_
#define CHROME_BROWSER_COLLABORATION_COLLABORATION_SERVICE_FACTORY_H_
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
namespace base {
template <typename T>
class NoDestructor;
}
namespace content {
class BrowserContext;
}
class Profile;
namespace collaboration {
class CollaborationService;
class CollaborationServiceFactory : public ProfileKeyedServiceFactory {
public:
static CollaborationService* GetForProfile(Profile* profile);
static CollaborationServiceFactory* GetInstance();
CollaborationServiceFactory(const CollaborationServiceFactory&) = delete;
CollaborationServiceFactory& operator=(const CollaborationServiceFactory&) =
delete;
private:
friend base::NoDestructor<CollaborationServiceFactory>;
CollaborationServiceFactory();
~CollaborationServiceFactory() override;
std::unique_ptr<KeyedService> BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const override;
};
}
#endif