diff options
author | dsinclair@chromium.org <dsinclair@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-23 02:09:53 +0000 |
---|---|---|
committer | dsinclair@chromium.org <dsinclair@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-23 02:09:53 +0000 |
commit | dcc7837317b2f78398461ae1cc78e14780222639 (patch) | |
tree | 837804f3c4ec78738648199193dd9948498bfa25 /content/app/content_main_runner.cc | |
parent | 9b5f0a4b60e2139bb6e80947f93f59164bb1ee17 (diff) | |
download | chromium_src-dcc7837317b2f78398461ae1cc78e14780222639.zip chromium_src-dcc7837317b2f78398461ae1cc78e14780222639.tar.gz chromium_src-dcc7837317b2f78398461ae1cc78e14780222639.tar.bz2 |
Add a mode flag to the tracing framework.
The mode is provided when SetEnabled is called. Currently there
is only one mode which is the trace until buffer is full mode.
We will be adding a continuous tracing mode which this will support.
BUG=156025
Review URL: https://chromiumcodereview.appspot.com/12302036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/app/content_main_runner.cc')
-rw-r--r-- | content/app/content_main_runner.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc index ce1f5c9..cfe320a 100644 --- a/content/app/content_main_runner.cc +++ b/content/app/content_main_runner.cc @@ -636,7 +636,8 @@ class ContentMainRunnerImpl : public ContentMainRunner { // ignored. if (command_line.HasSwitch(switches::kTraceStartup)) { base::debug::TraceLog::GetInstance()->SetEnabled( - command_line.GetSwitchValueASCII(switches::kTraceStartup)); + command_line.GetSwitchValueASCII(switches::kTraceStartup), + base::debug::TraceLog::RECORD_UNTIL_FULL); } #if defined(OS_MACOSX) && !defined(OS_IOS) |