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

Unified Diff: chrome/browser/chrome_content_browser_client.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/app/chrome_main.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 3431ac3a9155a86888459364ecec6f81763cd6fd..10776c73744e77e505ba101f9a6fd1dd7622a944 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1659,6 +1659,9 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
*base::CommandLine::ForCurrentProcess();
static const char* const kCommonSwitchNames[] = {
+#if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING)
+ switches::kMemlogPipe,
+#endif
switches::kUserAgent,
switches::kUserDataDir, // Make logs go to the right file.
};
« no previous file with comments | « chrome/app/chrome_main.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698