#include "components/language_detection/content/browser/content_language_detection_driver.h"
#include <memory>
#include "components/translate/core/browser/translate_model_service.h"
namespace language_detection {
ContentLanguageDetectionDriver::ContentLanguageDetectionDriver(
translate::TranslateModelService* translate_model_service)
: … { … }
ContentLanguageDetectionDriver::~ContentLanguageDetectionDriver() = default;
void ContentLanguageDetectionDriver::AddReceiver(
mojo::PendingReceiver<mojom::ContentLanguageDetectionDriver> receiver) { … }
void ContentLanguageDetectionDriver::GetLanguageDetectionModel(
GetLanguageDetectionModelCallback callback) { … }
void ContentLanguageDetectionDriver::OnLanguageModelFileAvailabilityChanged(
GetLanguageDetectionModelCallback callback,
bool is_available) { … }
}