Index: chrome/browser/first_run/first_run.cc |
=================================================================== |
--- chrome/browser/first_run/first_run.cc (revision 84102) |
+++ chrome/browser/first_run/first_run.cc (working copy) |
@@ -396,6 +396,14 @@ |
} |
// static |
+bool FirstRun::SearchEngineSelectorDisallowed() { |
+ // 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"); |
+} |
+ |
+// static |
bool FirstRun::SetOEMFirstRunBubblePref() { |
PrefService* local_state = g_browser_process->local_state(); |
if (!local_state) |