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

Side by Side Diff: content/browser/tracing/trace_subscriber_stdio.cc

Issue 14606009: Cleanup: Remove unneeded base/file_util.h includes in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/logging.h" 10 #include "base/logging.h"
10 #include "base/threading/sequenced_worker_pool.h" 11 #include "base/threading/sequenced_worker_pool.h"
11 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
12 13
13 namespace content { 14 namespace content {
14 15
15 // All method calls on this class are done on a SequencedWorkerPool thread. 16 // All method calls on this class are done on a SequencedWorkerPool thread.
16 class TraceSubscriberStdioImpl 17 class TraceSubscriberStdioImpl
17 : public base::RefCountedThreadSafe<TraceSubscriberStdioImpl> { 18 : public base::RefCountedThreadSafe<TraceSubscriberStdioImpl> {
18 public: 19 public:
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 96 }
96 97
97 void TraceSubscriberStdio::OnTraceDataCollected( 98 void TraceSubscriberStdio::OnTraceDataCollected(
98 const scoped_refptr<base::RefCountedString>& data_ptr) { 99 const scoped_refptr<base::RefCountedString>& data_ptr) {
99 BrowserThread::PostBlockingPoolSequencedTask( 100 BrowserThread::PostBlockingPoolSequencedTask(
100 __FILE__, FROM_HERE, 101 __FILE__, FROM_HERE,
101 base::Bind(&TraceSubscriberStdioImpl::OnData, impl_, data_ptr)); 102 base::Bind(&TraceSubscriberStdioImpl::OnData, impl_, data_ptr));
102 } 103 }
103 104
104 } // namespace content 105 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/tracing/trace_subscriber_stdio.h ('k') | content/browser/tracing/trace_subscriber_stdio_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698