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

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

Issue 1968723002: Fix include path for moved thread_task_runner_handle.h header in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 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 <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/memory/ref_counted_memory.h" 14 #include "base/memory/ref_counted_memory.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/synchronization/waitable_event.h" 18 #include "base/synchronization/waitable_event.h"
19 #include "base/test/test_io_thread.h" 19 #include "base/test/test_io_thread.h"
20 #include "base/test/trace_event_analyzer.h" 20 #include "base/test/trace_event_analyzer.h"
21 #include "base/thread_task_runner_handle.h"
22 #include "base/threading/platform_thread.h" 21 #include "base/threading/platform_thread.h"
23 #include "base/threading/sequenced_worker_pool.h" 22 #include "base/threading/sequenced_worker_pool.h"
24 #include "base/threading/thread.h" 23 #include "base/threading/thread.h"
24 #include "base/threading/thread_task_runner_handle.h"
25 #include "base/trace_event/memory_dump_provider.h" 25 #include "base/trace_event/memory_dump_provider.h"
26 #include "base/trace_event/process_memory_dump.h" 26 #include "base/trace_event/process_memory_dump.h"
27 #include "base/trace_event/trace_buffer.h" 27 #include "base/trace_event/trace_buffer.h"
28 #include "base/trace_event/trace_config_memory_test_util.h" 28 #include "base/trace_event/trace_config_memory_test_util.h"
29 #include "testing/gmock/include/gmock/gmock.h" 29 #include "testing/gmock/include/gmock/gmock.h"
30 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
31 31
32 using testing::_; 32 using testing::_;
33 using testing::AnyNumber; 33 using testing::AnyNumber;
34 using testing::AtMost; 34 using testing::AtMost;
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(2); 1094 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(2);
1095 for (int i = 0; i < 2; ++i) { 1095 for (int i = 0; i < 2; ++i) {
1096 RequestGlobalDumpAndWait(MemoryDumpType::EXPLICITLY_TRIGGERED, 1096 RequestGlobalDumpAndWait(MemoryDumpType::EXPLICITLY_TRIGGERED,
1097 MemoryDumpLevelOfDetail::DETAILED); 1097 MemoryDumpLevelOfDetail::DETAILED);
1098 } 1098 }
1099 DisableTracing(); 1099 DisableTracing();
1100 } 1100 }
1101 1101
1102 } // namespace trace_event 1102 } // namespace trace_event
1103 } // namespace base 1103 } // namespace base
OLDNEW
« no previous file with comments | « base/trace_event/memory_dump_manager.cc ('k') | base/trace_event/trace_event_system_stats_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698