| Index: chrome/app/chrome_main.cc
|
| ===================================================================
|
| --- chrome/app/chrome_main.cc (revision 101031)
|
| +++ chrome/app/chrome_main.cc (working copy)
|
| @@ -5,6 +5,7 @@
|
| #include "base/command_line.h"
|
| #include "base/lazy_instance.h"
|
| #include "base/message_loop.h"
|
| +#include "base/metrics/field_trial.h"
|
| #include "base/metrics/stats_counters.h"
|
| #include "base/path_service.h"
|
| #include "base/process_util.h"
|
| @@ -419,6 +420,10 @@
|
| }
|
| #endif
|
|
|
| + if (process_type == "" &&
|
| + command_line.HasSwitch(switches::kEnableBenchmarking)) {
|
| + base::FieldTrial::EnableBenchmarking();
|
| + }
|
| return false;
|
| }
|
|
|
|
|