#include "components/translate/content/browser/translate_waiter.h"
#include "base/run_loop.h"
namespace translate {
TranslateWaiter::TranslateWaiter(ContentTranslateDriver* translate_driver,
WaitEvent wait_event)
: … { … }
TranslateWaiter::~TranslateWaiter() = default;
void TranslateWaiter::Wait() { … }
void TranslateWaiter::OnLanguageDetermined(
const LanguageDetectionDetails& details) { … }
void TranslateWaiter::OnPageTranslated(const std::string& source_lang,
const std::string& translated_lang,
TranslateErrors error_type) { … }
void TranslateWaiter::OnIsPageTranslatedChanged(content::WebContents* source) { … }
}