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

Side by Side Diff: base/trace_event/memory_dump_manager_unittest.cc

Issue 1716163002: include-what-you-use: Fix some tracing-related includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « base/test/trace_to_file.cc ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/trace_event/memory_dump_manager.h" 5 #include "base/trace_event/memory_dump_manager.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/memory/ref_counted_memory.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 15 #include "base/run_loop.h"
15 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
16 #include "base/synchronization/waitable_event.h" 17 #include "base/synchronization/waitable_event.h"
17 #include "base/test/test_io_thread.h" 18 #include "base/test/test_io_thread.h"
18 #include "base/test/trace_event_analyzer.h" 19 #include "base/test/trace_event_analyzer.h"
19 #include "base/thread_task_runner_handle.h" 20 #include "base/thread_task_runner_handle.h"
20 #include "base/threading/platform_thread.h" 21 #include "base/threading/platform_thread.h"
21 #include "base/threading/thread.h" 22 #include "base/threading/thread.h"
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(2); 974 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(2);
974 for (int i = 0; i < 2; ++i) { 975 for (int i = 0; i < 2; ++i) {
975 RequestGlobalDumpAndWait(MemoryDumpType::EXPLICITLY_TRIGGERED, 976 RequestGlobalDumpAndWait(MemoryDumpType::EXPLICITLY_TRIGGERED,
976 MemoryDumpLevelOfDetail::DETAILED); 977 MemoryDumpLevelOfDetail::DETAILED);
977 } 978 }
978 DisableTracing(); 979 DisableTracing();
979 } 980 }
980 981
981 } // namespace trace_event 982 } // namespace trace_event
982 } // namespace base 983 } // namespace base
OLDNEW
« no previous file with comments | « base/test/trace_to_file.cc ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698