Chromium Code Reviews| Index: ios/chrome/browser/ios_chrome_main_parts.mm |
| diff --git a/ios/chrome/browser/ios_chrome_main_parts.mm b/ios/chrome/browser/ios_chrome_main_parts.mm |
| index fab26e1310436dbde7dacd3bfdfaf9a2e75f6174..6061cc4c5af47b8b7c29f5196023ef1ba59e6950 100644 |
| --- a/ios/chrome/browser/ios_chrome_main_parts.mm |
| +++ b/ios/chrome/browser/ios_chrome_main_parts.mm |
| @@ -9,6 +9,7 @@ |
| #include "base/files/file_path.h" |
| #include "base/logging.h" |
| #include "base/memory/ptr_util.h" |
| +#include "base/metrics/user_metrics.h" |
| #include "base/path_service.h" |
| #include "base/time/default_tick_clock.h" |
| #include "components/content_settings/core/browser/cookie_settings.h" |
| @@ -189,6 +190,9 @@ void IOSChromeMainParts::PostDestroyThreads() { |
| // This will be called after the command-line has been mutated by about:flags |
| void IOSChromeMainParts::SetUpMetricsAndFieldTrials() { |
| + base::SetRecordActionTaskRunner( |
|
Alexei Svitkine (slow)
2016/04/22 14:30:13
Nit: Add a comment about where this is done on oth
|
| + web::WebThread::GetTaskRunnerForThread(web::WebThread::UI)); |
| + |
| // Must initialize metrics after labs have been converted into switches, |
| // but before field trials are set up (so that client ID is available for |
| // one-time randomized field trials). |