Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8634)

Unified Diff: chrome/browser/ui/webui/options/language_options_handler_common.cc

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/language_options_handler_common.cc
diff --git a/chrome/browser/ui/webui/options/language_options_handler_common.cc b/chrome/browser/ui/webui/options/language_options_handler_common.cc
index b2ed9d2a29409274ede49e2c5afb21b3e5650b93..7f9dbba3468876c313508c1a0da045772d5c865e 100644
--- a/chrome/browser/ui/webui/options/language_options_handler_common.cc
+++ b/chrome/browser/ui/webui/options/language_options_handler_common.cc
@@ -132,7 +132,7 @@ void LanguageOptionsHandlerCommon::GetLocalizedValues(
default_target_language);
std::vector<std::string> languages;
- TranslateDownloadManager::GetSupportedLanguages(&languages);
+ translate::TranslateDownloadManager::GetSupportedLanguages(&languages);
base::ListValue* languages_list = new base::ListValue();
for (std::vector<std::string>::iterator it = languages.begin();
@@ -266,7 +266,7 @@ void LanguageOptionsHandlerCommon::UpdateLanguageListCallback(
}
Profile* profile = Profile::FromWebUI(web_ui());
- scoped_ptr<TranslatePrefs> translate_prefs =
+ scoped_ptr<translate::TranslatePrefs> translate_prefs =
ChromeTranslateClient::CreateTranslatePrefs(profile->GetPrefs());
translate_prefs->UpdateLanguageList(languages);
}

Powered by Google App Engine
This is Rietveld 408576698