Chromium Code Reviews| Index: chrome/common/chrome_switches.cc |
| diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
| index a76c7657f2b0e7bbf6870b4a513cdfc2942a3634..287f5f71b9e4a58f2544618218b078d2eee63cf4 100644 |
| --- a/chrome/common/chrome_switches.cc |
| +++ b/chrome/common/chrome_switches.cc |
| @@ -1129,6 +1129,14 @@ extern const char kEnableInputImeAPI[] = "enable-input-ime-api"; |
| extern const char kEnableNewAppMenuIcon[] = "enable-new-app-menu-icon"; |
| #endif |
| +#if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING) |
| +// Enables the out-of-process memory logging. |
| +const char kMemlog[] = "memlog"; |
|
awong
2017/06/14 23:15:19
should these be constexprs in the header now?
leg
brettw
2017/06/14 23:23:54
I don't think so, since that will inline them.
|
| + |
| +// Communicates the pipe name for out-of-process memory logging. |
| +const char kMemlogPipe[] = "memlog-pipe"; |
| +#endif |
| + |
| bool ExtensionsDisabled(const base::CommandLine& command_line) { |
| return command_line.HasSwitch(switches::kDisableExtensions) || |
| command_line.HasSwitch(switches::kDisableExtensionsExcept); |