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

Side by Side Diff: components/tracing/child_trace_message_filter.cc

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 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) 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 "base/message_loop/message_loop_proxy.h"
8 #include "base/trace_event/trace_event.h" 7 #include "base/trace_event/trace_event.h"
9 #include "components/tracing/child_memory_dump_manager_delegate_impl.h" 8 #include "components/tracing/child_memory_dump_manager_delegate_impl.h"
10 #include "components/tracing/tracing_messages.h" 9 #include "components/tracing/tracing_messages.h"
11 #include "ipc/ipc_channel.h" 10 #include "ipc/ipc_channel.h"
12 11
13 using base::trace_event::TraceLog; 12 using base::trace_event::TraceLog;
14 13
15 namespace tracing { 14 namespace tracing {
16 15
17 ChildTraceMessageFilter::ChildTraceMessageFilter( 16 ChildTraceMessageFilter::ChildTraceMessageFilter(
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 void ChildTraceMessageFilter::OnGlobalMemoryDumpResponse(uint64 dump_guid, 216 void ChildTraceMessageFilter::OnGlobalMemoryDumpResponse(uint64 dump_guid,
218 bool success) { 217 bool success) {
219 DCHECK_NE(0U, pending_memory_dump_guid_); 218 DCHECK_NE(0U, pending_memory_dump_guid_);
220 pending_memory_dump_guid_ = 0; 219 pending_memory_dump_guid_ = 0;
221 if (pending_memory_dump_callback_.is_null()) 220 if (pending_memory_dump_callback_.is_null())
222 return; 221 return;
223 pending_memory_dump_callback_.Run(dump_guid, success); 222 pending_memory_dump_callback_.Run(dump_guid, success);
224 } 223 }
225 224
226 } // namespace tracing 225 } // namespace tracing
OLDNEW
« no previous file with comments | « components/timers/alarm_timer_chromeos.cc ('k') | components/translate/content/browser/content_translate_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698