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

Unified Diff: chrome/browser/ui/cocoa/first_run_dialog.mm

Issue 6927022: Turn off the search engine selector for the Russian locale. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/cocoa/first_run_dialog.mm
===================================================================
--- chrome/browser/ui/cocoa/first_run_dialog.mm (revision 84102)
+++ chrome/browser/ui/cocoa/first_run_dialog.mm (working copy)
@@ -148,7 +148,8 @@
// If the default search is not managed via policy, ask the user to
// choose a default.
TemplateURLModel* model = profile->GetTemplateURLModel();
- if (model && !model->is_default_search_managed()) {
+ if (!FirstRun::SearchEngineSelectorRestricted() ||
+ model && !model->is_default_search_managed()) {
ShowSearchEngineSelectionDialog(profile,
randomize_search_engine_experiment);
}

Powered by Google App Engine
This is Rietveld 408576698