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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 8499050: Change command line switch for controlling profiling (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « no previous file | chrome/common/chrome_switches.h » ('j') | chrome/common/chrome_switches.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
===================================================================
--- chrome/browser/chrome_browser_main.cc (revision 109824)
+++ chrome/browser/chrome_browser_main.cc (working copy)
@@ -1218,10 +1218,10 @@
browser_process_.reset(new BrowserProcessImpl(parsed_command_line()));
}
- if (parsed_command_line().HasSwitch(switches::kEnableTracking)) {
+ if (parsed_command_line().HasSwitch(switches::kEnableProfiling)) {
// User wants to override default tracking status.
std::string flag =
- parsed_command_line().GetSwitchValueASCII(switches::kEnableTracking);
+ parsed_command_line().GetSwitchValueASCII(switches::kEnableProfiling);
bool enabled = flag.compare("0") != 0;
tracked_objects::ThreadData::InitializeAndSetTrackingStatus(enabled);
}
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | chrome/common/chrome_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698