| Index: components/translate/core/browser/translate_manager.cc
|
| diff --git a/components/translate/core/browser/translate_manager.cc b/components/translate/core/browser/translate_manager.cc
|
| index 31b3fc50ba5658b933a75f7452815022ee8ed76f..6fa1aa49a0d98c5c66878e00de71b1622100b90e 100644
|
| --- a/components/translate/core/browser/translate_manager.cc
|
| +++ b/components/translate/core/browser/translate_manager.cc
|
| @@ -31,6 +31,8 @@
|
| #include "net/base/url_util.h"
|
| #include "net/http/http_status_code.h"
|
|
|
| +namespace translate {
|
| +
|
| namespace {
|
|
|
| // Callbacks for translate errors.
|
| @@ -272,8 +274,8 @@ void TranslateManager::ReportLanguageDetectionError() {
|
| kSourceLanguageQueryName,
|
| language_state_.original_language());
|
|
|
| - report_error_url = TranslateURLUtil::AddHostLocaleToUrl(report_error_url);
|
| - report_error_url = TranslateURLUtil::AddApiKeyToUrl(report_error_url);
|
| + report_error_url = translate::AddHostLocaleToUrl(report_error_url);
|
| + report_error_url = translate::AddApiKeyToUrl(report_error_url);
|
|
|
| translate_client_->ShowReportLanguageDetectionErrorUI(report_error_url);
|
| }
|
| @@ -387,3 +389,5 @@ std::string TranslateManager::GetAutoTargetLanguage(
|
| LanguageState& TranslateManager::GetLanguageState() {
|
| return language_state_;
|
| }
|
| +
|
| +} // namespace translate
|
|
|