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 "components/tracing/child_trace_message_filter.h" | 5 #include "components/tracing/child_trace_message_filter.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/memory/ref_counted_memory.h" | 9 #include "base/memory/ref_counted_memory.h" |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "base/metrics/statistics_recorder.h" | 10 #include "base/metrics/statistics_recorder.h" |
12 #include "base/trace_event/trace_event.h" | 11 #include "base/trace_event/trace_event.h" |
13 #include "components/tracing/child_memory_dump_manager_delegate_impl.h" | 12 #include "components/tracing/child_memory_dump_manager_delegate_impl.h" |
14 #include "components/tracing/tracing_messages.h" | 13 #include "components/tracing/tracing_messages.h" |
15 #include "ipc/ipc_channel.h" | 14 #include "ipc/ipc_channel.h" |
16 | 15 |
17 using base::trace_event::TraceLog; | 16 using base::trace_event::TraceLog; |
18 | 17 |
19 namespace tracing { | 18 namespace tracing { |
20 | 19 |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 } | 290 } |
292 } | 291 } |
293 | 292 |
294 void ChildTraceMessageFilter::OnClearUMACallback( | 293 void ChildTraceMessageFilter::OnClearUMACallback( |
295 const std::string& histogram_name) { | 294 const std::string& histogram_name) { |
296 histogram_last_changed_ = base::Time(); | 295 histogram_last_changed_ = base::Time(); |
297 base::StatisticsRecorder::ClearCallback(histogram_name); | 296 base::StatisticsRecorder::ClearCallback(histogram_name); |
298 } | 297 } |
299 | 298 |
300 } // namespace tracing | 299 } // namespace tracing |
OLD | NEW |