summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index cfba5df..f5c556b 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -1168,11 +1168,12 @@ int BrowserMain(const MainFunctionParams& parameters) {
}
}
+#if defined(OS_WIN)
// If it's the first run, log the search engine chosen. We wait until
// shutdown because otherwise we can't be sure the user has finished
// selecting a search engine through the dialog reached from the first run
// bubble link.
- if (is_first_run) {
+ if (FirstRun::InSearchExperimentLocale() && is_first_run) {
const TemplateURL* default_search_engine =
profile->GetTemplateURLModel()->GetDefaultSearchProvider();
if (master_prefs.run_search_engine_experiment) {
@@ -1189,6 +1190,7 @@ int BrowserMain(const MainFunctionParams& parameters) {
TemplateURLPrepopulateData::SEARCH_ENGINE_MAX);
}
}
+#endif
chrome_browser_net_websocket_experiment::WebSocketExperimentRunner::Stop();