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

Unified Diff: chrome/browser/first_run/first_run.cc

Issue 8393025: Enable search engine dialog for all locales. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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
« no previous file with comments | « chrome/browser/first_run/first_run.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run.cc
===================================================================
--- chrome/browser/first_run/first_run.cc (revision 107211)
+++ chrome/browser/first_run/first_run.cc (working copy)
@@ -449,21 +449,8 @@
}
// static
-bool FirstRun::SearchEngineSelectorDisallowed() {
-#if defined(GOOGLE_CHROME_BUILD)
- // For now, the only case in which the search engine dialog should never be
- // shown is if the locale is Russia.
- std::string locale = g_browser_process->GetApplicationLocale();
- return (locale == "ru");
-#else
- return false;
-#endif
-}
-
-// static
bool FirstRun::ShouldShowSearchEngineSelector(const TemplateURLService* model) {
- return !SearchEngineSelectorDisallowed() &&
- model && !model->is_default_search_managed();
+ return model && !model->is_default_search_managed();
}
// static
« no previous file with comments | « chrome/browser/first_run/first_run.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698