chromium/components/translate/content/browser/translate_waiter.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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() {}

// TranslateDriver::LanguageDetectionObserver:
void TranslateWaiter::OnLanguageDetermined(
    const LanguageDetectionDetails& details) {}

// ContentTranslateDriver::TranslationObserver:
void TranslateWaiter::OnPageTranslated(const std::string& source_lang,
                                       const std::string& translated_lang,
                                       TranslateErrors error_type) {}

void TranslateWaiter::OnIsPageTranslatedChanged(content::WebContents* source) {}

}  // namespace translate