396 |
} |
} |
397 |
|
|
398 |
// static |
// static |
399 |
|
bool FirstRun::SearchEngineSelectorDisallowed() { |
400 |
|
// For now, the only case in which the search engine dialog should never be |
401 |
|
// shown is if the locale is Russia. |
402 |
|
std::string locale = g_browser_process->GetApplicationLocale(); |
403 |
|
return (locale == "ru"); |
404 |
|
} |
405 |
|
|
406 |
|
// static |
407 |
bool FirstRun::SetOEMFirstRunBubblePref() { |
bool FirstRun::SetOEMFirstRunBubblePref() { |
408 |
PrefService* local_state = g_browser_process->local_state(); |
PrefService* local_state = g_browser_process->local_state(); |
409 |
if (!local_state) |
if (!local_state) |