Chromium Code Reviews| Index: content/browser/android/content_startup_flags.cc |
| diff --git a/content/browser/android/content_startup_flags.cc b/content/browser/android/content_startup_flags.cc |
| index 636a1980c23ed3fc66158708fb0080015d1181ae..6d86d8fbdb1b8bfe5585c581fd897a17ef33989e 100644 |
| --- a/content/browser/android/content_startup_flags.cc |
| +++ b/content/browser/android/content_startup_flags.cc |
| @@ -4,6 +4,7 @@ |
| #include "content/browser/android/content_startup_flags.h" |
| +#include "base/base_switches.h" |
| #include "base/command_line.h" |
| #include "base/logging.h" |
| #include "base/strings/string_number_conversions.h" |
| @@ -87,6 +88,11 @@ void SetContentCommandLineFlags(int max_render_process_count, |
| parsed_command_line->AppendSwitchNative( |
| switches::kRegisterPepperPlugins, plugin_descriptor); |
| } |
| + |
| + // Disable profiler timing by default. |
| + if (!parsed_command_line->HasSwitch(switches::kProfilerTiming)) { |
| + parsed_command_line->AppendSwitchASCII(switches::kProfilerTiming, "0"); |
|
Mark Mentovai
2013/12/05 23:54:04
Since you’ve used "0" as the magic value in a coup
qsr
2013/12/06 14:29:43
Done.
|
| + } |
| } |
| } // namespace content |