#include "components/translate/core/browser/mock_translate_driver.h"
#include <string>
namespace translate {
namespace testing {
MockTranslateDriver::MockTranslateDriver()
: … { … }
MockTranslateDriver::~MockTranslateDriver() = default;
void MockTranslateDriver::TranslatePage(int page_seq_no,
const std::string& translate_script,
const std::string& source_lang,
const std::string& target_lang) { … }
void MockTranslateDriver::Reset() { … }
void MockTranslateDriver::OnIsPageTranslatedChanged() { … }
void MockTranslateDriver::OnTranslateEnabledChanged() { … }
bool MockTranslateDriver::IsLinkNavigation() { … }
bool MockTranslateDriver::IsIncognito() const { … }
const std::string& MockTranslateDriver::GetContentsMimeType() { … }
const GURL& MockTranslateDriver::GetLastCommittedURL() const { … }
const GURL& MockTranslateDriver::GetVisibleURL() { … }
ukm::SourceId MockTranslateDriver::GetUkmSourceId() { … }
LanguageState& MockTranslateDriver::GetLanguageState() { … }
bool MockTranslateDriver::HasCurrentPage() const { … }
void MockTranslateDriver::SetLastCommittedURL(const GURL& url) { … }
void MockTranslateDriver::SetPageMimeType(
const std::string& mime_type) { … }
void MockTranslateDriver::SetVisibleURL(const GURL& url) { … }
}
}