diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-05 18:51:30 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-05 18:51:30 +0000 |
commit | 52381d5530f56b905fb752e90e6ba24029eac199 (patch) | |
tree | ea1cde46bbc202f77720cda272e78881ea5d42c3 /base/trace_event.cc | |
parent | b930d13574dc5dd5a7f6a2ea706f58d9f00959cc (diff) | |
download | chromium_src-52381d5530f56b905fb752e90e6ba24029eac199.zip chromium_src-52381d5530f56b905fb752e90e6ba24029eac199.tar.gz chromium_src-52381d5530f56b905fb752e90e6ba24029eac199.tar.bz2 |
clean up line ending
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/trace_event.cc')
-rw-r--r-- | base/trace_event.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/trace_event.cc b/base/trace_event.cc index 9b10f9e..5b4ec36 100644 --- a/base/trace_event.cc +++ b/base/trace_event.cc @@ -51,7 +51,7 @@ bool TraceLog::Start() { return true; enabled_ = OpenLogFile(); if (enabled_) { - Log("var raw_trace_events = [\r\n"); + Log("var raw_trace_events = [\n"); trace_start_time_ = TimeTicks::Now(); timer_.Start(TimeDelta::FromMilliseconds(250), this, &TraceLog::Heartbeat); } @@ -67,7 +67,7 @@ void TraceLog::StopTracing() { void TraceLog::Stop() { if (enabled_) { enabled_ = false; - Log("];\r\n"); + Log("];\n"); CloseLogFile(); timer_.Stop(); } @@ -132,7 +132,7 @@ void TraceLog::Trace(const std::string& name, std::string msg = StringPrintf("{'pid':'0x%lx', 'tid':'0x%lx', 'type':'%s', " "'name':'%s', 'id':'0x%lx', 'extra':'%s', 'file':'%s', " - "'line_number':'%d', 'usec_begin': %I64d},\r\n", + "'line_number':'%d', 'usec_begin': %I64d},\n", base::GetCurrentProcId(), PlatformThread::CurrentId(), kEventTypeNames[type], |