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

Unified Diff: chrome/browser/prefs/browser_prefs.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/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 39058b0ea052cb60339a8ed35a2eb34940494b1b..41e11a20ff14dbbc5a8f6a4465d9d335dd60bd40 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -379,7 +379,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
RegisterBrowserUserPrefs(registry);
SessionStartupPref::RegisterProfilePrefs(registry);
TemplateURLPrepopulateData::RegisterProfilePrefs(registry);
- TranslatePrefs::RegisterProfilePrefs(registry);
+ translate::TranslatePrefs::RegisterProfilePrefs(registry);
ZeroSuggestProvider::RegisterProfilePrefs(registry);
#if defined(ENABLE_AUTOFILL_DIALOG)
@@ -525,7 +525,7 @@ void MigrateUserPrefs(Profile* profile) {
#endif
PromoResourceService::MigrateUserPrefs(prefs);
- TranslatePrefs::MigrateUserPrefs(prefs, prefs::kAcceptLanguages);
+ translate::TranslatePrefs::MigrateUserPrefs(prefs, prefs::kAcceptLanguages);
#if defined(OS_MACOSX) && !defined(OS_IOS)
autofill::AutofillManager::MigrateUserPrefs(prefs);

Powered by Google App Engine
This is Rietveld 408576698