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

Unified Diff: chrome/common/chrome_switches.cc

Issue 2937133002: Launch browser when --memlog is specified on the command line. (Closed)
Patch Set: Format 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
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);

Powered by Google App Engine
This is Rietveld 408576698