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

Side by Side Diff: content/common/child_trace_message_filter.h

Issue 9443020: Use SequencedWorkerPool for disk operations in TraceSubscriberStdio. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CONTENT_COMMON_CHILD_TRACE_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_COMMON_CHILD_TRACE_MESSAGE_FILTER_H_
6 #define CONTENT_COMMON_CHILD_TRACE_MESSAGE_FILTER_H_ 6 #define CONTENT_COMMON_CHILD_TRACE_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 13 matching lines...) Expand all
24 24
25 private: 25 private:
26 // Message handlers. 26 // Message handlers.
27 void OnBeginTracing(const std::vector<std::string>& included_categories, 27 void OnBeginTracing(const std::vector<std::string>& included_categories,
28 const std::vector<std::string>& excluded_categories); 28 const std::vector<std::string>& excluded_categories);
29 void OnEndTracing(); 29 void OnEndTracing();
30 void OnGetTraceBufferPercentFull(); 30 void OnGetTraceBufferPercentFull();
31 31
32 // Callback from trace subsystem. 32 // Callback from trace subsystem.
33 void OnTraceDataCollected( 33 void OnTraceDataCollected(
34 const scoped_refptr<base::debug::TraceLog::RefCountedString>& 34 const scoped_refptr<base::RefCountedString>& events_str_ptr);
35 events_str_ptr);
36 void OnTraceBufferFull(); 35 void OnTraceBufferFull();
37 36
38 IPC::Channel* channel_; 37 IPC::Channel* channel_;
39 38
40 DISALLOW_COPY_AND_ASSIGN(ChildTraceMessageFilter); 39 DISALLOW_COPY_AND_ASSIGN(ChildTraceMessageFilter);
41 }; 40 };
42 41
43 42
44 #endif // CONTENT_COMMON_CHILD_TRACE_MESSAGE_FILTER_H_ 43 #endif // CONTENT_COMMON_CHILD_TRACE_MESSAGE_FILTER_H_
45 44
OLDNEW
« no previous file with comments | « content/browser/trace_subscriber_stdio_unittest.cc ('k') | content/common/child_trace_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698