#ifndef CHROME_BROWSER_COMPONENT_UPDATER_SODA_COMPONENT_INSTALLER_H_
#define CHROME_BROWSER_COMPONENT_UPDATER_SODA_COMPONENT_INSTALLER_H_
#include <string>
#include "base/gtest_prod_util.h"
#include "base/values.h"
#include "components/component_updater/component_installer.h"
#include "components/prefs/pref_service.h"
#include "components/soda/constants.h"
#include "components/update_client/update_client.h"
namespace component_updater {
OnSodaComponentInstalledCallback;
OnSodaComponentReadyCallback;
OnSodaLanguagePackComponentReadyCallback;
class SodaComponentInstallerPolicy : public ComponentInstallerPolicy { … };
void RegisterSodaComponent(ComponentUpdateService* cus,
PrefService* global_prefs,
base::OnceClosure on_ready_callback,
base::OnceClosure on_registered_callback);
void RegisterSodaLanguageComponent(
ComponentUpdateService* cus,
const std::string& language,
PrefService* global_prefs,
OnSodaLanguagePackComponentReadyCallback on_ready_callback);
}
#endif