Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1131)

Unified Diff: chrome/common/chrome_switches.cc

Issue 2937133002: Launch browser when --memlog is specified on the command line. (Closed)
Patch Set: Fix Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/profiling/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
+
+// 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);
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/profiling/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698