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/trace_message_filter.h" | 5 #include "content/browser/trace_message_filter.h" |
6 | 6 |
| 7 #include "components/tracing/tracing_messages.h" |
7 #include "content/browser/trace_controller_impl.h" | 8 #include "content/browser/trace_controller_impl.h" |
8 #include "content/components/tracing/tracing_messages.h" | |
9 | 9 |
10 namespace content { | 10 namespace content { |
11 | 11 |
12 TraceMessageFilter::TraceMessageFilter() : | 12 TraceMessageFilter::TraceMessageFilter() : |
13 has_child_(false), | 13 has_child_(false), |
14 is_awaiting_end_ack_(false), | 14 is_awaiting_end_ack_(false), |
15 is_awaiting_buffer_percent_full_ack_(false) { | 15 is_awaiting_buffer_percent_full_ack_(false) { |
16 } | 16 } |
17 | 17 |
18 void TraceMessageFilter::OnFilterAdded(IPC::Channel* channel) { | 18 void TraceMessageFilter::OnFilterAdded(IPC::Channel* channel) { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 if (is_awaiting_buffer_percent_full_ack_) { | 119 if (is_awaiting_buffer_percent_full_ack_) { |
120 is_awaiting_buffer_percent_full_ack_ = false; | 120 is_awaiting_buffer_percent_full_ack_ = false; |
121 TraceControllerImpl::GetInstance()->OnTraceBufferPercentFullReply( | 121 TraceControllerImpl::GetInstance()->OnTraceBufferPercentFullReply( |
122 percent_full); | 122 percent_full); |
123 } else { | 123 } else { |
124 NOTREACHED(); | 124 NOTREACHED(); |
125 } | 125 } |
126 } | 126 } |
127 | 127 |
128 } // namespace content | 128 } // namespace content |
OLD | NEW |