| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/tracing/trace_subscriber_stdio.h" | 5 #include "content/browser/tracing/trace_subscriber_stdio.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 void TraceSubscriberStdio::OnEndSystemTracing( | 192 void TraceSubscriberStdio::OnEndSystemTracing( |
| 193 const scoped_refptr<base::RefCountedString>& events_str_ptr) { | 193 const scoped_refptr<base::RefCountedString>& events_str_ptr) { |
| 194 BrowserThread::PostBlockingPoolSequencedTask( | 194 BrowserThread::PostBlockingPoolSequencedTask( |
| 195 __FILE__, FROM_HERE, | 195 __FILE__, FROM_HERE, |
| 196 base::Bind(&TraceSubscriberStdioWorker::OnSystemTraceData, | 196 base::Bind(&TraceSubscriberStdioWorker::OnSystemTraceData, |
| 197 worker_, | 197 worker_, |
| 198 events_str_ptr)); | 198 events_str_ptr)); |
| 199 } | 199 } |
| 200 | 200 |
| 201 } // namespace content | 201 } // namespace content |
| OLD | NEW |