#include "chrome/browser/manta/manta_service_factory.h"
#include <memory>
#include "base/version_info/channel.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_selections.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/common/pref_names.h"
#include "components/language/core/browser/pref_names.h"
#include "components/manta/features.h"
#include "components/manta/manta_service.h"
#include "components/prefs/pref_service.h"
#include "components/signin/public/identity_manager/identity_manager.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/ash/login/demo_mode/demo_session.h"
#include "chromeos/ash/components/channel/channel_info.h"
#endif
namespace manta {
MantaService* MantaServiceFactory::GetForProfile(Profile* profile) { … }
MantaServiceFactory* MantaServiceFactory::GetInstance() { … }
MantaServiceFactory::MantaServiceFactory()
: … { … }
MantaServiceFactory::~MantaServiceFactory() = default;
std::unique_ptr<KeyedService>
MantaServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* const context) const { … }
}